should check for "any" not just empty

This commit is contained in:
Costa Tsaousis (ktsaou) 2015-02-23 06:10:44 +02:00
parent c1d46bec40
commit a7c4287561

@ -7859,7 +7859,7 @@ rule() {
# if there are custom arguments, keep the procol with it
[ ! -z "${custom}" -a -z "${require_protocol_with_action[*]}" ] && require_protocol_with_action=("${proto[@]}")
[ ! -z "${custom}" -a "${require_protocol_with_action[*]}" = "any" ] && require_protocol_with_action=("${proto[@]}")
# If the user did not specify a rejection message,