BF: debian-initd, exit with exit code in logend_msg_wrapper

and do it unconditionally on the verbosity level
pull/2189/head
Yaroslav Halchenko 6 years ago
parent d9b9b6ba22
commit f323eceec7

@ -180,10 +180,11 @@ do_reload() {
#
log_end_msg_wrapper()
{
if [ "$3" != "no" ]; then
[ $1 -lt $2 ] && value=0 || value=1
if [ "$3" != "no" ]; then
log_end_msg $value
fi
exit $value
}
command="$1"

Loading…
Cancel
Save