fixed keyfile check

This commit is contained in:
sose 2020-06-17 00:25:55 -07:00
parent fc29e81880
commit db5f4bc53e
2 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,7 @@
ssh_command=""
check_key_file() {
key_file="$(find /tilde/key | tail -n1)"
if [ -f "$key_file" ]
then
while [ -z "$(cat $key_file | head -n1 | grep -- '-----BEGIN .* PRIVATE KEY-----')" ]

View File

@ -11,7 +11,6 @@ export key_file=""
#configure_tilde
#configure_irc
key_file="$(find /tilde/key | tail -n1)"
choice=""
clear