Make code match up with comments
If pf was already disabled, the code would exit upon trying to disable it again
This commit is contained in:
parent
269b9eff84
commit
7a67f8bc16
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue