From: Kern Sibbald Date: Wed, 10 Feb 2010 10:06:19 +0000 (+0100) Subject: Make mtx-changer errors clearer X-Git-Tag: Release-5.0.1~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=de78b12ee089bafc37f62ca7c634d774aecf0535;p=bacula%2Fbacula Make mtx-changer errors clearer --- diff --git a/bacula/scripts/mtx-changer.in b/bacula/scripts/mtx-changer.in index 3f5aadd624..5aa9926747 100644 --- a/bacula/scripts/mtx-changer.in +++ b/bacula/scripts/mtx-changer.in @@ -76,7 +76,7 @@ make_temp_file() { if test x${TMPFILE} = x; then TMPFILE="@working_dir@/mtx.$$" if test -f ${TMPFILE}; then - echo "Temp file security problem on: ${TMPFILE}" + echo "ERROR: Temp file security problem on: ${TMPFILE}" exit 1 fi fi @@ -111,7 +111,7 @@ check_parm_count() { pCount=$1 pCountNeed=$2 if test $pCount -lt $pCountNeed; then - echo "usage: mtx-changer ctl-device command [slot archive-device drive-index]" + echo "ERROR: usage: mtx-changer ctl-device command [slot archive-device drive-index]" echo " Insufficient number of arguments given." if test $pCount -lt 2; then echo " Mimimum usage is first two arguments ..."