summaryrefslogtreecommitdiff
path: root/debian/dbus.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/dbus.init')
-rw-r--r--debian/dbus.init3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/dbus.init b/debian/dbus.init
index 6564c103..e8abdf50 100644
--- a/debian/dbus.init
+++ b/debian/dbus.init
@@ -99,8 +99,7 @@ start_it_up()
fi
if [ -e $PIDFILE ]; then
- PIDDIR=/proc/$(cat $PIDFILE)
- if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then
+ if $0 status > /dev/null ; then
log_success_msg "$DESC already started; not starting."
return
else