Fixed daemon name checking
This commit is contained in:
parent
c4f4769bcf
commit
07d781a18d
2
start.sh
2
start.sh
@ -21,7 +21,7 @@ if [ -n ${SBBS_PID} ]; then
|
|||||||
NAME=$(cat /proc/${SBBS_PID}/cmdline |awk -F\00 '{print $1}')
|
NAME=$(cat /proc/${SBBS_PID}/cmdline |awk -F\00 '{print $1}')
|
||||||
#echo "* SBBS NAME [${NAME}]"
|
#echo "* SBBS NAME [${NAME}]"
|
||||||
|
|
||||||
if [ ${NAME} != 'sbbs' ]; then
|
if [ "${NAME}" != "sbbs" ]; then
|
||||||
echo "! Name not matching? [${NAME}]"
|
echo "! Name not matching? [${NAME}]"
|
||||||
break;
|
break;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user