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:
parent
e4e1d5e29b
commit
832074de4a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user