Permalink
Browse files

Invert the logic, save 2 bytes, yay.

  • Loading branch information...
1 parent 0bc15a0 commit e9ef33c6527b2c96f8269be4280542b20b4b0880 @jedisct1 jedisct1 committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/clear-fw.sh
@@ -6,7 +6,7 @@ exec >/dev/null
exec 2>&1
SOCKETFILTERFW='/usr/libexec/ApplicationFirewall/socketfilterfw'
-[ ! -x "$SOCKETFILTERFW" ] && exit 0
+[ -x "$SOCKETFILTERFW" ] || exit 0
"$SOCKETFILTERFW" --add /usr/local/sbin/dnscrypt-proxy
"$SOCKETFILTERFW" --unblockapp /usr/local/sbin/dnscrypt-proxy

0 comments on commit e9ef33c

Please sign in to comment.