From 00311e8f0e83574b3638cbea07c7cd5ad270bfb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Thu, 21 Mar 2019 23:43:42 +0100 Subject: [PATCH] quote --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index 0ea7519..cad2fb6 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -1203,7 +1203,7 @@ fi if [ "$IS_SSHPERMITROOTNO" = 1 ]; then if is_debian_stretch; then - grep -q ^PermitRoot /etc/ssh/sshd_config && grep -E -qi "PermitRoot.*no" /etc/ssh/sshd_config \ + grep -q "^PermitRoot" /etc/ssh/sshd_config && grep -E -qi "PermitRoot.*no" /etc/ssh/sshd_config \ || failed "IS_SSHPERMITROOTNO" else grep -E -qi "PermitRoot.*no" /etc/ssh/sshd_config || failed "IS_SSHPERMITROOTNO"