Verify that SSH keys URL is valid
This commit is contained in:
parent
42eb637342
commit
29e1412f6f
|
@ -137,6 +137,14 @@ if [[ -z ${target_keys_url} ]]; then
|
||||||
echo "The specified passwords do not match or are empty."
|
echo "The specified passwords do not match or are empty."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
else
|
||||||
|
while ! wget -O /dev/null ${target_keys_url} &>/dev/null; do
|
||||||
|
echo
|
||||||
|
echo "Please enter a valid SSH keys URL."
|
||||||
|
echo
|
||||||
|
echo -n "> "
|
||||||
|
read target_keys_url
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue