From: Eric Bollengier Date: Tue, 14 Oct 2008 13:37:37 +0000 (+0000) Subject: ebl Remove warning when pressing Enter in btape X-Git-Tag: Release-7.0.0~3963 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8bbe216a2fac301c9b729465ec1b132658fa291;p=bacula%2Fbacula ebl Remove warning when pressing Enter in btape git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7784 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/btape.c b/bacula/src/stored/btape.c index f064911183..e77dc0b003 100644 --- a/bacula/src/stored/btape.c +++ b/bacula/src/stored/btape.c @@ -2583,7 +2583,7 @@ do_tape_cmds() found = true; break; } - if (!found) { + if (*cmd && !found) { Pmsg1(0, _("\"%s\" is an invalid command\n"), cmd); } } diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 03be0bcbed..c775b29989 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -18,6 +18,7 @@ remove reader/writer in FOPTS???? General: 14Oct08 +ebl Remove warning message in btape when command is empty. kes Fix Win32 build to pull in new BACULA define. 13Oct08 kes Change IncludeDir to Exclude Dir Containing.