From 74ad5a338cb202224b6128668f10d755a8473fb2 Mon Sep 17 00:00:00 2001 From: Richard Dzenis Date: Fri, 29 Mar 2019 14:34:36 +0200 Subject: [PATCH] fix automatic authbind detection (#1078) --- bin/cowrie | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cowrie b/bin/cowrie index 221d337b..cbf93320 100755 --- a/bin/cowrie +++ b/bin/cowrie @@ -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