about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c3
1 files changed, 2 insertions, 1 deletions
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