From a799fbbb0694e7cca8eaa86ee693eccafc8d4d75 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 10 Feb 2010 11:06:19 +0100 Subject: [PATCH] Make mtx-changer errors clearer --- bacula/scripts/mtx-changer.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ..." -- 2.39.5