diff options
author | Christian Hesse <mail@eworm.de> | 2019-10-08 22:09:39 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-10-08 22:09:39 +0200 |
commit | a07925971bef1da821260068e1ba9dc3c244fe28 (patch) | |
tree | a9a6c98fb5add5ae27ada50bd5c7a9e540c5877a | |
parent | a7747a3ad3b3f07a2465d64027a923e7709a117f (diff) | |
download | mpd-notification-a07925971bef1da821260068e1ba9dc3c244fe28.tar.gz mpd-notification-a07925971bef1da821260068e1ba9dc3c244fe28.tar.zst |
do not retry on exit
-rw-r--r-- | mpd-notification.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd-notification.c b/mpd-notification.c index a946324..f0d27b4 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -484,7 +484,7 @@ int main(int argc, char ** argv) { notify_notification_set_image_from_pixbuf(notification, pixbuf); while(notify_notification_show(notification, &error) == FALSE) { - if (errcount > 1) { + if (errcount > 1 || doexit) { fprintf(stderr, "%s: Looks like we can not reconnect to notification daemon... Exiting.\n", program); goto out10; } else { |