mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-16 01:57:09 +00:00
Break if MPD connection fails. (#491)
This commit is contained in:
parent
95237ae4e0
commit
42e43435f4
@ -185,6 +185,7 @@ void mpd_cb::work() {
|
||||
conn = nullptr;
|
||||
|
||||
mpd_info.status = "MPD not responding";
|
||||
break;
|
||||
}
|
||||
mpd_finishCommand(conn);
|
||||
if ((conn == nullptr) || (conn->error != 0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user