[iptables PATCH] tests: shell: fix bashism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The `<(cmd)` redirection is specific to Bash.  Update the shebang
accordingly.

Fixes: 63ab4fe3a191 ("ebtables: Avoid dropping policy when flushing")
Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
---
 iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 b/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0
index faf37d02eaea..d79f91b1446d 100755
--- a/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0
+++ b/iptables/tests/shell/testcases/ebtables/0007-chain-policies_0
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 case "$XT_MULTI" in
 *xtables-nft-multi)
-- 
2.33.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux