1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

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
No known key found for this signature in database
GPG Key ID: AF0CA153EA5D9C7C

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