1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

fix(net): Mark not connected on querying failure

Fixes #1163
This commit is contained in:
patrick96 2018-04-16 22:19:01 +02:00 committed by Patrick Ziegler
parent 4dfa4079be
commit 7eb1f61080

View file

@ -86,6 +86,7 @@ namespace modules {
if (!network->query(m_accumulate)) {
m_log.warn("%s: Failed to query interface '%s'", name(), m_interface);
m_connected = false;
return false;
}