mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Log message when cannot send desktop nofication
This commit is contained in:
parent
8cfbb72337
commit
3f73a55cb0
@ -223,7 +223,11 @@ _notify(const char * const message, int timeout,
|
|||||||
g_string_append(notify_command, app_id);
|
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);
|
g_string_free(notify_command, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user