Fix #9511 multiple PID's cause unary operator expected

This commit is contained in:
Damian Myerscough 2014-01-06 19:41:34 +01:00
parent 745a3cfa0f
commit c6ed4980dc
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ start() {
RETVAL=0
fi
else
if [ $(pidofproc $PROCESS) ]; then
if $(pidofproc $PROCESS) ; then
RETVAL=$?
echo -n "already running"
else

View File

@ -66,7 +66,7 @@ start() {
RETVAL=0
fi
else
if [ $(pidofproc $PROCESS) ]; then
if $(pidofproc $PROCESS) ; then
RETVAL=$?
echo -n "already running"
else