From b74547d39cc6c3b47d1154a46b41870522d3b4e7 Mon Sep 17 00:00:00 2001 From: Patrick Hahn Date: Tue, 1 Nov 2016 20:04:48 +0100 Subject: Removed unnecessary subshell which call --- Bash/iptables-whiteblacklisting.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Bash/iptables-whiteblacklisting.sh b/Bash/iptables-whiteblacklisting.sh index 6c13a4b..36f3c49 100755 --- a/Bash/iptables-whiteblacklisting.sh +++ b/Bash/iptables-whiteblacklisting.sh @@ -46,14 +46,14 @@ BLACKLISTING=() #=============================================================================== # Define IPTables commands for IPv4 and IPv6 #=============================================================================== -IPTABLES_V4=$(which iptables) -IPTABLES_V6=$(which ip6tables) +IPTABLES_V4=iptables +IPTABLES_V6=ip6tables #=============================================================================== # Define IPTables-save commands for IPv4 and IPv6 #=============================================================================== -IPTABLES_SAVE_V4=$(which iptables-save) -IPTABLES_SAVE_V6=$(which ip6tables-save) +IPTABLES_SAVE_V4=iptables-save +IPTABLES_SAVE_V6=ip6tables-save #=============================================================================== # Wrapper function for IPTables with IPv4 and IPv6 -- cgit v1.2.3