mirror of
https://github.com/systemd/systemd.git
synced 2025-03-24 14:50:17 +03:00
test-timesync: ignore failure to listen on /run/systemd/netif/links/ (#6463)
Fixes #6353.
This commit is contained in:
parent
9fcaa574f0
commit
36484c0341
@ -1092,6 +1092,10 @@ static int manager_network_monitor_listen(Manager *m) {
|
||||
assert(m);
|
||||
|
||||
r = sd_network_monitor_new(&m->network_monitor, NULL);
|
||||
if (r == -ENOENT) {
|
||||
log_info("Systemd does not appear to be running, not listening for systmed-networkd events.");
|
||||
return 0;
|
||||
}
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user