mirror of https://github.com/cowrie/cowrie.git
fix automatic authbind detection (#1078)
This commit is contained in:
parent
fe1ce7d74e
commit
74ad5a338c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue