Correct the warning if sshd is unavailable.
This commit is contained in:
parent
a424966e22
commit
8286b26d96
|
@ -99,7 +99,7 @@ function getMyHostKey() {
|
|||
if [ ! -f "${hostkey}" ]; then
|
||||
hostkey="/etc/ssh/ssh_host_rsa_key.pub"
|
||||
if [ ! -f "${hostkey}" ]; then
|
||||
printf '\e[1;31m%-6s\e[m' "Impossible de trouver la clef ssh publique ce cette machine, installation annulée."
|
||||
printf '\e[1;31m%-6s\e[m' "Impossible de trouver la clef ssh publique ce cette machine, SSH est-il bien installé?\n Installation annulée."
|
||||
return "$ERROR"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue