Make code match up with comments

If pf was already disabled, the code would exit upon trying to disable it again
remotes/origin/2.0
Jake Guffey 13 years ago
parent 269b9eff84
commit 7a67f8bc16
  1. 2
      conf/type/__pf_apply/gencode-remote

@ -31,7 +31,7 @@ cat <<EOF
if [ -f "${rcvar}.old" ]; then # rcvar.old exists, we must need to disable pf
# Disable pf
# If it already is disabled, pfctl -d returns 1, go on with life
pfctl -d
pfctl -d || true
# Cleanup
rm -f "${rcvar}.old"
# This file shouldn't exist, but just in case...

Loading…
Cancel
Save