From 832074de4ad3f78fabf0bb89ab7aad874e0154ab Mon Sep 17 00:00:00 2001 From: Will Song Date: Fri, 2 Jan 2015 20:05:55 -0600 Subject: [PATCH] fix tests (hopefully) and use /bin/echo to avoid use of builtin shell commands --- src/ui/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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