Issueing failure message and non-zero exit value if manual_devices_ts fails

This commit is contained in:
Thomas Schmitt 2011-07-14 16:52:01 +00:00
parent 92d0f9440c
commit 30d457a3fe

View File

@ -156,6 +156,14 @@ fi
case ${RET} in case ${RET} in
0) 0)
get_devices "$devices" "$dev" get_devices "$devices" "$dev"
RET="$?"
if test "$RET" = 0
then
dummy=dummy
else
echo "FAIL : ${SELF} : Device scan or single drive listing failed"
exit "$RET"
fi
;; ;;
*) *)
boldify boldify