mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
networkd: link - don't fail a link if RF kill is active
This commit is contained in:
parent
1f0e048474
commit
9b86b3930a
@ -1232,12 +1232,13 @@ static int link_up_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
|
||||
|
||||
r = sd_rtnl_message_get_errno(m);
|
||||
if (r < 0) {
|
||||
/* we warn but don't fail the link, as it may
|
||||
be brought up later */
|
||||
log_struct_link(LOG_WARNING, link,
|
||||
"MESSAGE=%s: could not bring up interface: %s",
|
||||
link->ifname, strerror(-r),
|
||||
"ERRNO=%d", -r,
|
||||
NULL);
|
||||
link_enter_failed(link);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user