diff options
author | Will Song <incertia9474@gmail.com> | 2015-01-02 20:05:55 -0600 |
---|---|---|
committer | Will Song <incertia9474@gmail.com> | 2015-01-02 20:05:55 -0600 |
commit | 832074de4ad3f78fabf0bb89ab7aad874e0154ab (patch) | |
tree | abb84a6daa5c2c76b51182e4e6ccb2536176cf77 /src | |
parent | e4e1d5e29b883d66b2f89c5ed659f07475e9ee5e (diff) | |
download | profani-tty-832074de4ad3f78fabf0bb89ab7aad874e0154ab.tar.gz |
fix tests (hopefully) and use /bin/echo to avoid use of builtin shell commands
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |