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
commit 0625bc7688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");
}
}