diff --git a/src/ui/core.c b/src/ui/core.c index 35f97b71..be3fd9a4 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -2259,7 +2259,8 @@ ui_clear_win_title(void) void ui_goodbye_title(void) { - system("echo -ne \"\033]0;Thanks for using Profanity\007\""); + int result = system("/bin/echo -ne \"\033]0;Thanks for using Profanity\007\""); + if(result == -1) log_error("Error printing title on shutdown"); } void