aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c2
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 {