about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/notifier.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/notifier.c b/src/ui/notifier.c
index 8582acf2..7c366434 100644
--- a/src/ui/notifier.c
+++ b/src/ui/notifier.c
@@ -223,7 +223,11 @@ _notify(const char * const message, int timeout,
         g_string_append(notify_command, app_id);
     }
 
-    system(notify_command->str);
+    int res = system(notify_command->str);
+    if (res == -1) {
+        log_error("Could not send desktop notificaion.");
+    }
+
     g_string_free(notify_command, TRUE);
 }