From 86958cea3e7b7a0b0e3fedb2b3be2837b635db59 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 30 Mar 2012 09:49:28 +0200 Subject: [PATCH] Correcting log_end_msg usages in connection with verbosity checks in live-boot initscript, thanks to Pablo Barbachano (Closes: #665689). --- debian/live-boot.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ;;