[Pkg-sysvinit-commits] r1841 - in sysvinit/trunk/debian: . src/initscripts/etc/init.d

Kel Modderman kelmo-guest at alioth.debian.org
Sun Mar 21 10:59:19 UTC 2010


Author: kelmo-guest
Date: 2010-03-21 10:59:19 +0000 (Sun, 21 Mar 2010)
New Revision: 1841

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/src/initscripts/etc/init.d/hostname.sh
   sysvinit/trunk/debian/src/initscripts/etc/init.d/rmnologin
Log:
Exit with value rather than echo the value for the status action in
rmnologin and hostname.sh initscripts. (Closes: #567074, #567069)

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2010-03-21 09:43:13 UTC (rev 1840)
+++ sysvinit/trunk/debian/changelog	2010-03-21 10:59:19 UTC (rev 1841)
@@ -1,13 +1,18 @@
 sysvinit (2.87dsf-10) UNRELEASED; urgency=low
 
+  [ Petter Reinholdtsen ]
   * Avoid killing processes managed by upstart, and print list of
     misbehaving processes.  Partly based on patch from Martin Pitt,
     Scott James Remnant and Ubuntu.
   * Change service to use upstart for service management if an upstart
     configuration exist.  Patch from Dustin Kirkland and Ubuntu.
 
- -- Petter Reinholdtsen <pere at debian.org>  Sun, 21 Mar 2010 10:00:15 +0100
+  [ Kel Modderman ]
+  * Exit with value rather than echo the value for the status action in
+    rmnologin and hostname.sh initscripts. (Closes: #567074, #567069)
 
+ -- Kel Modderman <kel at otaku42.de>  Sun, 21 Mar 2010 20:49:13 +1000
+
 sysvinit (2.87dsf-9) unstable; urgency=low
 
   [ Petter Reinholdtsen ]

Modified: sysvinit/trunk/debian/src/initscripts/etc/init.d/hostname.sh
===================================================================
--- sysvinit/trunk/debian/src/initscripts/etc/init.d/hostname.sh	2010-03-21 09:43:13 UTC (rev 1840)
+++ sysvinit/trunk/debian/src/initscripts/etc/init.d/hostname.sh	2010-03-21 10:59:19 UTC (rev 1841)
@@ -57,7 +57,7 @@
 	;;
   status)
 	do_status
-	echo $?
+	exit $?
 	;;
   *)
 	echo "Usage: hostname.sh [start|stop]" >&2

Modified: sysvinit/trunk/debian/src/initscripts/etc/init.d/rmnologin
===================================================================
--- sysvinit/trunk/debian/src/initscripts/etc/init.d/rmnologin	2010-03-21 09:43:13 UTC (rev 1840)
+++ sysvinit/trunk/debian/src/initscripts/etc/init.d/rmnologin	2010-03-21 10:59:19 UTC (rev 1841)
@@ -48,7 +48,7 @@
 	;;
   status)
 	do_status
-	echo $?
+	exit $?
 	;;
   *)
 	echo "Usage: $0 start|stop" >&2




More information about the Pkg-sysvinit-commits mailing list