Patchwork dbus: no messages of status command print

login
register
mail settings
Submitter Chong.Lu@windriver.com
Date Oct. 22, 2013, 9:40 a.m.
Message ID <1382434823-12648-1-git-send-email-Chong.Lu@windriver.com>
Download mbox | patch
Permalink /patch/60351/
State Accepted
Commit 9844b5e2a544b2c2f76aac497c3a2cdfcc46577c
Headers show

Comments

Chong.Lu@windriver.com - Oct. 22, 2013, 9:40 a.m.
From: Lu Chong <Chong.Lu@windriver.com>

/etc/init.d/dbus-1 use "set -e" to let the script exit when any command failes.
This will cause "/etc/init.d/dbus-1 status" command can't display messages when dbus is stopped.

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
---
 meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init b/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init
index 04025e6..42c8629 100644
--- a/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init
+++ b/meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init
@@ -14,7 +14,7 @@ 
 # Debian init.d script for D-BUS
 # Copyright © 2003 Colin Walters <walters@debian.org>
 
-set -e
+# set -e
 
 # Source function library.
 . /etc/init.d/functions