mirror of
https://github.com/anatolykopyl/sshukh.git
synced 2026-03-26 12:55:02 +00:00
Don't exit but break
This commit is contained in:
@@ -22,7 +22,7 @@ sshukh () {
|
||||
read yn"?Update known_hosts? [y/n] "
|
||||
case $yn in
|
||||
[Yy]* ) ssh-keygen -R $host && \ssh "$@"; break;;
|
||||
[Nn]* ) exit;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer y or n.";;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user