Browse Source

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
commit
f323eceec7
  1. 3
      files/debian-initd

3
files/debian-initd

@ -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"

Loading…
Cancel
Save