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 1dc28efd30
commit 8595b2942f

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