Skip to content

Commit 436436d

Browse files
committed
fix: netdevs.yaml
1 parent 9978a2a commit 436436d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit_tests/test_target/patches/tests/netdevs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ static_files:
3737
fi
3838
3939
# Use shell string matching instead of grep to avoid segfaults
40+
# Quotes around < and > prevent busybox from interpreting them as redirection
4041
case "$link_info" in
41-
*<*UP*>*) ;;
42+
*"<"*UP*">"*) ;;
4243
*) echo "Expected interface $dev not up"; exit 1 ;;
4344
esac
4445
done

0 commit comments

Comments
 (0)