Merge pull request #793 from uggedal/non-fatal-missing-nl80211

network: make missing nl80211 non-fatal
This commit is contained in:
Alex
2020-08-02 11:21:13 +02:00
committed by GitHub

View File

@ -158,7 +158,7 @@ void waybar::modules::Network::createInfoSocket() {
}
nl80211_id_ = genl_ctrl_resolve(sock_, "nl80211");
if (nl80211_id_ < 0) {
throw std::runtime_error("Can't resolve nl80211 interface");
spdlog::warn("Can't resolve nl80211 interface");
}
}