Verify that SSH keys URL is valid
This commit is contained in:
parent
4753050f7f
commit
e08e37a31f
|
@ -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