mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-21 18:03:41 +03:00
test: fix grepping fixed string starts from hyphen
Follow-up for 85445fba22b2f81853a3f018ed1f28864cef37fc. Fixes #21718.
This commit is contained in:
parent
3abdd4bf2e
commit
c18f18745b
@ -47,7 +47,7 @@ if [[ "$KERNEL_MAJOR" -lt $MAJOR_REQUIRED || ("$KERNEL_MAJOR" -eq $MAJOR_REQUIRE
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if systemctl --version | grep -q -F "-BPF_FRAMEWORK"; then
|
||||
if systemctl --version | grep -q -F -- "-BPF_FRAMEWORK"; then
|
||||
echo "bpf-framework is disabled" >>/skipped
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user