mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
bpf-firewall: fix warning text
I figure saying "systemd" here was a typo, and it should have been "system". (Yes, it becomes very hard after a while typing "system" correctly if you type "systemd" so often.) That said, "systemd" in some ways is actually more correct, since BPF might be available for the system instance but not in the user instance. Either way, talking of "this systemd" is weird, let's reword this to be "this manager", to emphasize that it's the local instance of systemd where BPF is not available, but that it might be available otherwise.
This commit is contained in:
parent
d66a98482b
commit
418cdd69d1
@ -494,7 +494,7 @@ int bpf_firewall_compile(Unit *u) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (r == 0) {
|
||||
log_debug("BPF firewalling not supported on this systemd, proceeding without.");
|
||||
log_debug("BPF firewalling not supported on this manager, proceeding without.");
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
@ -556,7 +556,7 @@ int bpf_firewall_install(Unit *u) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
if (r == 0) {
|
||||
log_debug("BPF firewalling not supported on this systemd, proceeding without.");
|
||||
log_debug("BPF firewalling not supported on this manager, proceeding without.");
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user