Commit 527bc31d authored by anarcat's avatar anarcat

fix syntax errors, make status silent

parent c3e610ad
......@@ -88,13 +88,14 @@ case "$1" in
esac
;;
status)
if ps `cat $PIDFILE`; then
if ps `cat $PIDFILE` > /dev/null; then
[ "$VERBOSE" != no ] && echo $DESC is running
exit 0
else
ret=$?
[ "$VERBOSE" != no ] && echo "$DESC is not running"
exit $ret
fi
;;
reload|force-reload)
[ "$VERBOSE" != no ] && echo "Reloading $DESC"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment