Allow user to attempt recovery if device could not be reached

pull/396/head
Colin Kuebler 2019-11-14 18:10:41 -05:00
parent 59357a3809
commit 4eec3fa605
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ while true; do
echo "Could not reach the device!"
echo "$RESULT"
if [[ "$RESULT" =~ failed ]]; then
if [[ "$RESULT" =~ failed || -z "$RESULT" ]]; then
read -p "Do you want to try something else? [y/N] " -n 1 -r
echo
[[ "$REPLY" =~ ^[Yy]$ ]] || break