If called without ip_set.ko loaded, the unconditional 'rmmod ip_set' at startup will fail and the previous 'set -e' makes that fatal. Fixes: ed47b815a0d2c ("tests: add namespace test and take into account delayed set removal at module remove") Signed-off-by: Phil Sutter --- tests/setlist_resize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setlist_resize.sh b/tests/setlist_resize.sh index acb33e3ba0f08..db347ca065171 100755 --- a/tests/setlist_resize.sh +++ b/tests/setlist_resize.sh @@ -20,7 +20,7 @@ while [ $n -le 9 ]; do n=10 fi done -rmmod ip_set >/dev/null 2>&1 +rmmod ip_set >/dev/null 2>&1 || : create() { n=$1 -- 2.49.0