Fixed an error in the init script's status function.

This commit is contained in:
Jay Weisskopf 2012-01-04 03:32:12 -06:00 committed by Marc Singer
parent 8630c134a8
commit 2280b802c7

View file

@ -89,7 +89,7 @@ d_reload() {
# Function that check the status of the daemon/service.
#
d_status() {
[ -r "$PIDFILE" && kill -0 `cat "$PIDFILE"` ] &&
[ -r "$PIDFILE" ] && kill -0 `cat "$PIDFILE"` &&
echo "$DESC is running" || echo "$DESC is not running"
}