Skip to contentSkip to conversation

tests: shell: fix bashism

PATCH Applied Jeremy Sowden 2 participants 2 messages Oct 1, 2021 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: shell: fix bashism

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

Fixes 63ab4fe3a191 ("ebtables: Avoid dropping policy when flushing")
---
 iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
iptables/tests/shell/testcases/ebtables/0007-chain-policies_0 +1 -1
index faf37d02eaea..d79f91b1446d 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 case "$XT_MULTI" in
 *xtables-nft-multi)
Signature · 1 line
2.33.0
maintainer Applied
#1 lore raw
Quoted 4 lines · Jeremy Sowden

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

Fixes 63ab4fe3a191 ("ebtables: Avoid dropping policy when flushing")

Applied, thanks.