Skip to content

Commit

Permalink
Merge branch 'master' of github.com:stealthcopter/deepce
Browse files Browse the repository at this point in the history
  • Loading branch information
stealthcopter committed Oct 4, 2020
2 parents 73f2803 + 61a922c commit 46d6af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 46d6af9

Please sign in to comment.