Author: eugen
Date: Tue Apr  7 17:05:05 2020
New Revision: 359703
URL: https://svnweb.freebsd.org/changeset/base/359703

Log:
  Style fix for /etc/rc.d/ipfw: correct bad identation after r359701.

Modified:
  stable/11/etc/rc.d/ipfw

Modified: stable/11/etc/rc.d/ipfw
==============================================================================
--- stable/11/etc/rc.d/ipfw     Tue Apr  7 17:04:24 2020        (r359702)
+++ stable/11/etc/rc.d/ipfw     Tue Apr  7 17:05:05 2020        (r359703)
@@ -126,18 +126,18 @@ ipfw_stop()
 
 ipfw_status()
 {
-    status=$(sysctl -n net.inet.ip.fw.enable)
+       status=$(sysctl -n net.inet.ip.fw.enable)
        : ${status:=0}
        if afexists inet6; then
                status=$((${status} + $(sysctl -i -n net.inet6.ip6.fw.enable)))
        fi
        if [ ${status} -eq 0 ]; then
-       echo "ipfw is not enabled"
-       exit 1
-    else
-       echo "ipfw is enabled"
-       exit 0
-    fi
+               echo "ipfw is not enabled"
+               exit 1
+       else
+               echo "ipfw is enabled"
+               exit 0
+       fi
 }
 
 load_rc_config $name
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to