summaryrefslogtreecommitdiffstats
path: root/udev-block-notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r--udev-block-notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-block-notify.c b/udev-block-notify.c
index 34604af..c79c746 100644
--- a/udev-block-notify.c
+++ b/udev-block-notify.c
@@ -294,7 +294,7 @@ int main (int argc, char ** argv) {
notify_notification_update(notification, TEXT_TOPIC, notifystr, icon);
notify_notification_set_timeout(notification, notification_timeout);
- while(notify_notification_show(notification, &error) == FALSE) {
+ if (notify_notification_show(notification, &error) == FALSE) {
g_printerr("%s: Error showing notification: %s\n", program, error->message);
g_error_free(error);