fix ssh config

How did I not commit this yet?
This commit is contained in:
Alex Bradbury 2012-07-04 16:13:28 +01:00
parent 95bdc6bb7a
commit 053c55300b

View File

@ -138,7 +138,7 @@ do_memory_split() {
}
do_ssh() {
if [ -e /var/log/regen_ssh_keys.log ] && ! grep -q "^finished"; then
if [ -e /var/log/regen_ssh_keys.log ] && ! grep -q "^finished" /var/log/regen_ssh_keys.log; then
whiptail --msgbox "Initial ssh key generation still running. Please wait and try again." 20 60 2
return 1
fi