From a872da3d4c989551e1ec4564f105aab8e28cbd98 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Wed, 2 Sep 2020 14:05:51 +0200 Subject: [PATCH] deepce fix --- deepce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepce.sh b/deepce.sh index d96ec37..99eae3e 100755 --- a/deepce.sh +++ b/deepce.sh @@ -561,7 +561,7 @@ containerServices() { # shellcheck disable=SC2181 if [ $? -eq 0 ]; then if [ -f "/etc/ssh/sshd_config" ]; then - sshPort=$(grep /etc/ssh/sshd_config "^Port" || echo "Port 22" | cut -d' ' -f2) + sshPort=$(grep "^Port" /etc/ssh/sshd_config || echo "Port 22" | cut -d' ' -f2) printSuccess "Yes (port $sshPort)" else printSuccess "Yes"