1
0
Fork 0

beakerlib: Use ncat explicitly instead of nc

This is to make sure that we do not use netcat,
which does not work in the unix socket test.
This commit is contained in:
Pavol Žáčik 2025-04-15 16:14:45 +02:00
parent 889387b000
commit 8f1c757c87
No known key found for this signature in database
GPG key ID: B3029C97EB97E3E4

View file

@ -24,7 +24,7 @@ send() {
local socket=/run/tuned/tuned.sock
# local send_only=--send-only
printf "$data" | nc $send_only -U /run/tuned/tuned.sock
printf "$data" | ncat $send_only -U /run/tuned/tuned.sock
}
rlJournalStart