From e3db225aab74c26ff12d4a4e544cc5d60e1effd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 15 Oct 2018 06:20:32 +0200 Subject: [PATCH] vif-route-qubes: \n -> \\n Make shellcheck happy. --- network/vif-route-qubes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/vif-route-qubes b/network/vif-route-qubes index 3f3c5d1..c72d8a0 100755 --- a/network/vif-route-qubes +++ b/network/vif-route-qubes @@ -105,12 +105,12 @@ if [ "${ip}" ] ; then else ipt=iptables-restore fi - echo -e "*raw\n$iptables_cmd -i ${vif} ! -s ${addr} -j DROP\nCOMMIT" | \ + echo -e "*raw\\n$iptables_cmd -i ${vif} ! -s ${addr} -j DROP\\nCOMMIT" | \ ${cmdprefix} $ipt --noflush $ipt_arg done # if no IPv6 is assigned, block all IPv6 traffic on that interface if ! [[ "$ip" = *:* ]]; then - echo -e "*raw\n$iptables_cmd -i ${vif} -j DROP\nCOMMIT" | \ + echo -e "*raw\\n$iptables_cmd -i ${vif} -j DROP\\nCOMMIT" | \ ${cmdprefix} ip6tables-restore --noflush $ipt_arg fi ${cmdprefix} ip addr "${ipcmd}" "${back_ip}/32" dev "${vif}"