summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rwxr-xr-xfiles/debian-initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/debian-initd b/files/debian-initd
index d6660215..9a701d98 100755
--- a/files/debian-initd
+++ b/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"