diff --git a/raspi-config b/raspi-config index 3758452..7165e44 100755 --- a/raspi-config +++ b/raspi-config @@ -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