[Pkg-sysvinit-commits] r977 - in sysvinit/trunk/debian: .
initscripts/etc/init.d
Petter Reinholdtsen
pere at costa.debian.org
Thu Sep 28 17:25:37 UTC 2006
Author: pere
Date: 2006-09-28 17:25:37 +0000 (Thu, 28 Sep 2006)
New Revision: 977
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/etc/init.d/rc.local
Log:
* Correct exit code handling in init.d/rc.local. (Closes: #389435)
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2006-09-28 17:17:41 UTC (rev 976)
+++ sysvinit/trunk/debian/changelog 2006-09-28 17:25:37 UTC (rev 977)
@@ -4,6 +4,7 @@
sure it see the _netdev option. umountfs still uses /proc/mounts
to make every non-root file system is unmounted before halt or
reboot. (Closes: #383124)
+ * Correct exit code handling in init.d/rc.local. (Closes: #389435)
-- Petter Reinholdtsen <pere at debian.org> Thu, 28 Sep 2006 19:14:41 +0200
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/rc.local
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/rc.local 2006-09-28 17:17:41 UTC (rev 976)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/rc.local 2006-09-28 17:25:37 UTC (rev 977)
@@ -18,7 +18,9 @@
if [ -x /etc/rc.local ]; then
[ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
/etc/rc.local
- [ "$VERBOSE" != no ] && log_end_msg $?
+ ES=$?
+ [ "$VERBOSE" != no ] && log_end_msg $ES
+ return $ES
fi
}
More information about the Pkg-sysvinit-commits
mailing list