This commit is contained in:
ruban 2017-10-25 09:18:08 +00:00 committed by GitHub
commit a3ffbfbb6e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ start() {
echo -n "Already running !" && warning echo -n "Already running !" && warning
echo echo
else else
nohup ${CMD} >/dev/null 2>&1 & nohup python ${CMD} >/dev/null 2>&1 &
RETVAL=$? RETVAL=$?
PID=$! PID=$!
[ $RETVAL -eq 0 ] && success || failure [ $RETVAL -eq 0 ] && success || failure