]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Remove warning when pressing Enter in btape
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 14 Oct 2008 13:37:37 +0000 (13:37 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 14 Oct 2008 13:37:37 +0000 (13:37 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7784 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/btape.c
bacula/technotes-2.5

index f0649111835a67f081249b0ab163b32519978599..e77dc0b0032249ab64d91702fa7a7d1871079d76 100644 (file)
@@ -2583,7 +2583,7 @@ do_tape_cmds()
             found = true;
             break;
          }
-      if (!found) {
+      if (*cmd && !found) {
          Pmsg1(0, _("\"%s\" is an invalid command\n"), cmd);
       }
    }
index 03be0bcbed835c1719151533bf6409f3cca09660..c775b29989a1158cd162e6615131126377cb7933 100644 (file)
@@ -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.