From 07d781a18dd2132f489c0501a7ec274b7679c965 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 2 Aug 2020 17:53:03 +1000 Subject: [PATCH] Fixed daemon name checking --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 1c93a4d..edea3d0 100755 --- a/start.sh +++ b/start.sh @@ -21,7 +21,7 @@ if [ -n ${SBBS_PID} ]; then NAME=$(cat /proc/${SBBS_PID}/cmdline |awk -F\00 '{print $1}') #echo "* SBBS NAME [${NAME}]" - if [ ${NAME} != 'sbbs' ]; then + if [ "${NAME}" != "sbbs" ]; then echo "! Name not matching? [${NAME}]" break; fi