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

and do it unconditionally on the verbosity level
pull/2189/head
Yaroslav Halchenko 2018-07-24 12:15:58 -04:00
parent d9b9b6ba22
commit f323eceec7
1 changed files with 2 additions and 1 deletions

View File

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