From: Alan T. DeKok Date: Fri, 15 Jun 2012 15:15:36 +0000 (+0200) Subject: Print out results of check. Exit with return code of check X-Git-Tag: release_2_2_0~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51ecd5ff08d60fa71f5ca92223b5125b48002e24;p=thirdparty%2Ffreeradius-server.git Print out results of check. Exit with return code of check --- diff --git a/scripts/rc.radiusd.in b/scripts/rc.radiusd.in index 4cc04abdf2f..b01799238ce 100755 --- a/scripts/rc.radiusd.in +++ b/scripts/rc.radiusd.in @@ -90,7 +90,8 @@ case "$1" in sh $0 start ;; check) - $RADIUSD -C $ARGS + $RADIUSD -CX $ARGS + exit $? ;; *) echo "Usage: /etc/init.d/$RADIUS {start|stop|reload|restart|check}"