fix tests (hopefully) and use /bin/echo to avoid use of builtin shell commands

This commit is contained in:
Will Song
2015-01-02 20:05:55 -06:00
parent e4e1d5e29b
commit 832074de4a

View File

@@ -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