]> git.sur5r.net Git - bacula/bacula/commitdiff
Discard possible mt output
authorKern Sibbald <kern@sibbald.com>
Wed, 2 Jul 2008 20:48:20 +0000 (20:48 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 2 Jul 2008 20:48:20 +0000 (20:48 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7290 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/scripts/mtx-changer.in

index 62b8707d8f4724523e93a455d852b59f7a41ffe6..7333bc5483b49c5fe6cccfde08088718ad3d8e0e 100644 (file)
@@ -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