Browse Source

deepce fix

Roman Hergenreder 3 years ago
parent
commit
a872da3d4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deepce.sh

+ 1 - 1
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"