Skip to content

Commit

Permalink
Correcting log_end_msg usages in connection with verbosity checks in …
Browse files Browse the repository at this point in the history
…live-boot initscript, thanks to Pablo Barbachano <pablobarbachano@yahoo.es> (Closes: #665689).
  • Loading branch information
daniel-baumann committed Mar 30, 2012
1 parent c9eb5a5 commit 86958ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debian/live-boot.init
Expand Up @@ -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)
Expand All @@ -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
;;
Expand Down

0 comments on commit 86958ce

Please sign in to comment.