seen on fedora 44: tail: cannot open '+2' for reading: No such file or directory Signed-off-by: Florian Westphal --- tests/hash:net.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hash:net.t b/tests/hash:net.t index 4f88327684a4..73e36b5f80ab 100644 --- a/tests/hash:net.t +++ b/tests/hash:net.t @@ -61,7 +61,7 @@ # List set and check the number of elements 0 n=`ipset -L test|grep '^10.'|wc -l` && test $n -eq 43520 # Stress test del with range notation -0 ./netgen.sh | tail +2|sed 's/^a/d/' | ipset restore +0 ./netgen.sh | tail -n +2 | sed 's/^a/d/' | ipset restore # List set and check the number of elements 0 n=`ipset -L test|grep '^10.'|wc -l` && test $n -eq 0 # Destroy test set -- 2.54.0