tape-admin: suppress mtx output

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2018-10-12 18:13:51 +02:00
parent ed4bf33f10
commit 7d214948cc

View File

@@ -1215,7 +1215,7 @@ mtx_unload () {
fi fi
make_err_file make_err_file
${MTX} -f $changer_device unload $slot_source $drive 2>${ERRFILE} ${MTX} -f $changer_device unload $slot_source $drive 1>/dev/null 2>${ERRFILE}
for i in 1 2 3 4 5 ; do for i in 1 2 3 4 5 ; do
RET=$? RET=$?
if test $RET -eq 0; then if test $RET -eq 0; then