summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-03-30 09:49:28 +0200
committerDaniel Baumann <daniel@debian.org>2012-03-30 09:49:28 +0200
commit86958cea3e7b7a0b0e3fedb2b3be2837b635db59 (patch)
tree9d60fc1b3c7b66d6ad57b69661130d884546acc0
parentc9eb5a5a73c793b8bd1ed2d862e8630f0c2b1f2c (diff)
downloadlive-boot-86958cea3e7b7a0b0e3fedb2b3be2837b635db59.tar.gz
live-boot-86958cea3e7b7a0b0e3fedb2b3be2837b635db59.zip
Correcting log_end_msg usages in connection with verbosity checks in live-boot initscript, thanks to Pablo Barbachano <pablobarbachano@yahoo.es> (Closes: #665689).
-rw-r--r--debian/live-boot.init6
1 files 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
;;