Added failure in start() for not running process
Added failure in start() for not running process
This commit is contained in:
parent
787483f71c
commit
f5e6f99ba7
@ -67,7 +67,7 @@ start() {
|
||||
sleep 2
|
||||
my_check=`status -p $MAXSCALE_PIDFILE $MAXSCALE_BIN/maxscale`
|
||||
CHECK_RET=$?
|
||||
[ $CHECK_RET -eq 0 ] && echo -n $my_check && success
|
||||
[ $CHECK_RET -eq 0 ] && echo -n $my_check && success || failure
|
||||
fi
|
||||
|
||||
# Return rigth code
|
||||
|
Loading…
x
Reference in New Issue
Block a user