Merge pull request #793 from uggedal/non-fatal-missing-nl80211
network: make missing nl80211 non-fatalpull/796/head
commit
0625bc7688
|
@ -158,7 +158,7 @@ void waybar::modules::Network::createInfoSocket() {
|
||||||
}
|
}
|
||||||
nl80211_id_ = genl_ctrl_resolve(sock_, "nl80211");
|
nl80211_id_ = genl_ctrl_resolve(sock_, "nl80211");
|
||||||
if (nl80211_id_ < 0) {
|
if (nl80211_id_ < 0) {
|
||||||
throw std::runtime_error("Can't resolve nl80211 interface");
|
spdlog::warn("Can't resolve nl80211 interface");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue