From f2e7786953a908fc9a5da13c5d37e7aa23546c1e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 14 Oct 2008 13:37:37 +0000 Subject: [PATCH] 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 --- bacula/src/stored/btape.c | 2 +- bacula/technotes-2.5 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- 2.39.5