[OE-core] [PATCH] dbus: no messages of status command print

Chong.Lu at windriver.com Chong.Lu at windriver.com
Tue Oct 22 09:40:22 UTC 2013


From: Lu Chong <Chong.Lu at 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 at windriver.com>
---
 meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 at debian.org>
 
-set -e
+# set -e
 
 # Source function library.
 . /etc/init.d/functions
-- 
1.7.9.5




More information about the Openembedded-core mailing list