fix automatic authbind detection (#1078)

This commit is contained in:
Richard Dzenis 2019-03-29 14:34:36 +02:00 committed by Michel Oosterhof
parent fe1ce7d74e
commit 74ad5a338c
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ cowrie_start() {
#Automatically check if the authbind is enabled or not
authfile="/etc/authbind/byport/22"
if [ -x authfile ]; then
if [ -x "$authfile" ]; then
AUTHBIND_ENABLED=yes
else
AUTHBIND_ENABLED=no