From: Kern Sibbald Date: Wed, 2 Jul 2008 20:48:20 +0000 (+0000) Subject: Discard possible mt output X-Git-Tag: Release-3.0.0~1199 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aefd672fd2f9b56bb6bbb62be03b781261d9fbf9;p=bacula%2Fbacula Discard possible mt output git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7290 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/scripts/mtx-changer.in b/bacula/scripts/mtx-changer.in index 62b8707d8f..7333bc5483 100644 --- a/bacula/scripts/mtx-changer.in +++ b/bacula/scripts/mtx-changer.in @@ -70,7 +70,7 @@ case ${OS} in Linux) ready="ONLINE" if test -f /etc/debian_version ; then - mt --version|grep "mt-st" + mt --version|grep "mt-st" >/dev/null 2>&1 if test $? -eq 1 ; then ready="drive status" fi