20 lines
994 B
Diff
20 lines
994 B
Diff
--- amanda-2.5.2p1/changer-src/chg-multi.sh.in.typo_chg_multi 2007-05-17 19:38:34.000000000 +0200
|
|
+++ amanda-2.5.2p1/changer-src/chg-multi.sh.in 2007-08-09 14:34:21.000000000 +0200
|
|
@@ -325,7 +325,7 @@ then
|
|
echo $answer
|
|
exit 2
|
|
fi
|
|
- echo `_ ' -> offline'` "$device"` >> $logfile
|
|
+ echo `_ ' -> offline'` "$device" >> $logfile
|
|
$MT $MTF $device offline >> $logfile 2>&1
|
|
if [ $? -ne 0 ]; then
|
|
answer=`_ '%s %s: %s: unable to change to slot %s' "$newslot" "$pname" "$device" "$curslot"`
|
|
@@ -404,7 +404,7 @@ if [ $loadslot -eq 1 ]; then # load the
|
|
# try to rewind the device
|
|
device=`awk '$1 == "slot" && $2 == '$curslot' {print $3}' $ourconf 2>/dev/null`
|
|
if [ "$device" = "" ]; then
|
|
- answer=`_ "%s %s: slot %s device not specified in %s' "$curslot" "$pname" "$curslot" "$ourconf"`
|
|
+ answer=`_ '%s %s: slot %s device not specified in %s' "$curslot" "$pname" "$curslot" "$ourconf"`
|
|
echo `_ 'Exit ->'` $answer >> $logfile
|
|
echo $answer
|
|
exit 2
|