From: Eric Bollengier Date: Mon, 13 Mar 2017 13:33:17 +0000 (+0100) Subject: Add support for Fujitsu Eternus LT under Solaris 11 X-Git-Tag: Release-11.3.2~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7155281044e031349b37afa33528333813c0e95;p=thirdparty%2Fbacula.git Add support for Fujitsu Eternus LT under Solaris 11 --- diff --git a/bacula/scripts/mtx-changer.in b/bacula/scripts/mtx-changer.in index f1dc2d314..f9d3078b7 100644 --- a/bacula/scripts/mtx-changer.in +++ b/bacula/scripts/mtx-changer.in @@ -265,7 +265,7 @@ case $cmd in ${MTX} -f $ctl status >${TMPFILE} rtn=$? if test ${vxa_packetloader} -ne 0 ; then - cat ${TMPFILE} | grep " *Storage Element [0-9]*:.*Full" | sed "s/ Storage Element //" | sed "s/Full :VolumeTag=//" + cat ${TMPFILE} | grep " *Storage Element [0-9]*:.*Full" | sed "s/ *Storage Element //" | sed "s/Full :VolumeTag=//" else cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//" fi