mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 03:26:22 +00:00
fix tests (hopefully) and use /bin/echo to avoid use of builtin shell commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user