Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > 26764e702e441b473525f6a16ac25557 > files > 26

hal-0.5.8.1-59.el5.src.rpm

commit dcee9df49356ac117b8db726a30126109f055f39
Author: Richard Hughes <richard@hughsie.com>
Date:   Thu Nov 26 10:39:05 2009 +0000

    If /usr/sbin/hald does not exist then exit the haldaemon init script with retval 1 for LSB compliance

diff --git a/hald/haldaemon.in b/hald/haldaemon.in
index cd6dfde..33ee31a 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