summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
;;