summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/bcfg2-server.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/bcfg2-server.init b/debian/bcfg2-server.init
index fad18dc42..f2b1161e9 100644
--- a/debian/bcfg2-server.init
+++ b/debian/bcfg2-server.init
@@ -71,7 +71,7 @@ stop () {
status () {
# Inspired by redhat /etc/init.d/functions status() call
- PID=$(pidof -x $BINARY)
+ PID=$(pidof -x $BINARY -o %PPID)
if [ -n "$PID" ]; then
echo "$BINARY (pid $PID) is running..."
return 0