diff options
author | Rob Landley <rob@landley.net> | 2019-03-01 16:47:13 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-03-01 16:47:13 -0600 |
commit | c96d4b9c6c9db70ac5e46d4c74de7186309fc2f7 (patch) | |
tree | 91665220e1839f7402ab68acb6b83a61ed47e367 | |
parent | 8f6554366bcf6f7b07a52ea802856aeedc36645a (diff) | |
download | toybox-c96d4b9c6c9db70ac5e46d4c74de7186309fc2f7.tar.gz |
Yes it's a one instruction race, but it bothers me.
-rw-r--r-- | toys/posix/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 7cf6e0dd..dac39c83 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -1459,8 +1459,8 @@ static void top_common( // Avoid flicker and hide the cursor in interactive mode. if (!FLAG(b)) { setbuf(stdout, stdout_buf); - tty_esc("?25l"); sigatexit(top_cursor_cleanup); + tty_esc("?25l"); } toys.signal = SIGWINCH; |