Improve statusproc output when process is not running
[hvlinux.git] / stage4 / bootscripts / dbus
index 0efaa69..d4c77f5 100755 (executable)
@@ -12,7 +12,7 @@ DAEMON_DESC="D-BUS Messagebus daemon"
 DAEMON_OPTS="--config-file=/etc/dbus-1/system.conf"
 
 dbus_start() {
-    if statusproc ${DAEMON} | grep -q "not running"; then
+    if statusproc ${DAEMON} | grep -q "stopped"; then
        if [ -f /var/run/dbus/pid ]; then
            rm /var/run/dbus/pid
        fi