summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-11-26 10:39:05 +0000
committerRichard Hughes <richard@hughsie.com>2010-01-27 20:58:34 +0000
commit9c940ee21009abb338182f5774d6ece0e9dd6eb9 (patch)
treea1b757f7289a31e9d6bb8595ab7123c9a5de8770
parent4c1d80dd2a77adf3392ca7f9479abb727636b9e5 (diff)
If /usr/sbin/hald does not exist then exit the haldaemon init script with retval 1 for LSB compliance
-rwxr-xr-xhald/haldaemon.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/haldaemon.in b/hald/haldaemon.in
index cd6dfde4..33ee31a5 100755
--- a/hald/haldaemon.in
+++ b/hald/haldaemon.in
@@ -12,7 +12,7 @@
#
# Sanity checks.
-[ -x @sbindir@/hald ] || exit 0
+[ -x @sbindir@/hald ] || exit 1
# Source function library.
. @sysconfdir@/rc.d/init.d/functions