From: Peter B. <plb...@io...> - 2007-08-16 13:56:09
|
I've just committed the following minor change to mtx-changer.in. The missing quotes around ${ready} were causing the drive ready detection to fail (at least) on Solaris: Index: mtx-changer.in =================================================================== --- mtx-changer.in (revision 5002) +++ mtx-changer.in (revision 5360) @@ -108,7 +108,7 @@ wait_for_drive() { i=0 while [ $i -le 300 ]; do # Wait max 300 seconds - if mt -f $1 status | grep ${ready} >/dev/null 2>&1; then + if mt -f $1 status | grep "${ready}" >/dev/null 2>&1; then break fi debug "Device $1 - not ready, retrying..." |