[SCM] live-boot branch, debian-next, updated. debian/3.0_a25-1-5-g86958ce

Daniel Baumann daniel at debian.org
Fri Mar 30 07:50:09 UTC 2012


The following commit has been merged in the debian-next branch:
commit 86958cea3e7b7a0b0e3fedb2b3be2837b635db59
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Mar 30 09:49:28 2012 +0200

    Correcting log_end_msg usages in connection with verbosity checks in live-boot initscript, thanks to Pablo Barbachano <pablobarbachano at yahoo.es> (Closes: #665689).

diff --git a/debian/live-boot.init b/debian/live-boot.init
index ab09d2a..fb6f662 100644
--- a/debian/live-boot.init
+++ b/debian/live-boot.init
@@ -225,7 +225,7 @@ do_stop ()
 
 case "${1}" in
 	start|restart|reload|force-reload|status)
-		[ "${VERBOSE}" != no ] && log_end_msg 0
+		[ "${VERBOSE}" != no ] && log_end_msg 0 || exit 0
 		;;
 
 	stop)
@@ -234,11 +234,11 @@ case "${1}" in
 
 		case "${?}" in
 			0|1)
-				[ "${VERBOSE}" != no ] && log_end_msg 0
+				[ "${VERBOSE}" != no ] && log_end_msg 0 || exit 0
 				;;
 
 			2)
-				[ "${VERBOSE}" != no ] && log_end_msg 1
+				[ "${VERBOSE}" != no ] && log_end_msg 1 || exit 1
 				;;
 		esac
 		;;

-- 
live-boot



More information about the debian-live-changes mailing list