mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Fix #9511 multiple PID's cause unary operator expected
This commit is contained in:
parent
745a3cfa0f
commit
c6ed4980dc
@ -64,7 +64,7 @@ start() {
|
||||
RETVAL=0
|
||||
fi
|
||||
else
|
||||
if [ $(pidofproc $PROCESS) ]; then
|
||||
if $(pidofproc $PROCESS) ; then
|
||||
RETVAL=$?
|
||||
echo -n "already running"
|
||||
else
|
||||
|
@ -66,7 +66,7 @@ start() {
|
||||
RETVAL=0
|
||||
fi
|
||||
else
|
||||
if [ $(pidofproc $PROCESS) ]; then
|
||||
if $(pidofproc $PROCESS) ; then
|
||||
RETVAL=$?
|
||||
echo -n "already running"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user