Issueing failure message and non-zero exit value if manual_devices_ts fails
This commit is contained in:
parent
1dc28efd30
commit
8595b2942f
@ -156,6 +156,14 @@ fi
|
||||
case ${RET} in
|
||||
0)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user