]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print out results of check. Exit with return code of check
authorAlan T. DeKok <aland@freeradius.org>
Fri, 15 Jun 2012 15:15:36 +0000 (17:15 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 15 Jul 2012 17:09:47 +0000 (13:09 -0400)
scripts/rc.radiusd.in

index 4cc04abdf2f17eb442e2106eba806bd920440bd7..b01799238ce1128495223274ce91b4db5f8e1df3 100755 (executable)
@@ -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}"