Fix use of $servicename in status
authorColin Walters <walters@verbum.org>
Fri, 9 Jul 2010 15:48:53 +0000 (11:48 -0400)
committerColin Walters <walters@verbum.org>
Fri, 9 Jul 2010 15:52:59 +0000 (11:52 -0400)
See https://bugzilla.redhat.com/show_bug.cgi?id=521797

We have two init scripts, and commit 05283235632bc8891aaa3047563cb4
patched the "wrong" (i.e. slackware) one.  Patch one that ships
with real operating systems too.

bus/messagebus.in

index 1f1004b..3e2ee07 100755 (executable)
@@ -68,7 +68,7 @@ case "$1" in
         stop
         ;;
     status)
-        status $processname
+        status $servicename
         RETVAL=$?
         ;;
     restart)