Issueing failure message and non-zero exit value if manual_devices_ts fails
This commit is contained in:
parent
92d0f9440c
commit
30d457a3fe
@ -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