mirror of
https://github.com/troglobit/finit.git
synced 2026-10-28 12:30:44 +00:00
initctl: fix boolean logic bug in -p top command option
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
d3e4463612
commit
98c4e7764f
1 file changed
+1
-1
+1
-1
@@ -608,7 +608,7 @@ int show_cgtop(char *arg)
|
|||||||
uev_init(&ctx);
|
uev_init(&ctx);
|
||||||
uev_timer_init(&ctx, &timer, cgtop, arg, 1, ionce ? 0 : 1000);
|
uev_timer_init(&ctx, &timer, cgtop, arg, 1, ionce ? 0 : 1000);
|
||||||
|
|
||||||
if (!ionce || plain) {
|
if (!ionce && !plain) {
|
||||||
atexit(cleanup);
|
atexit(cleanup);
|
||||||
ttraw();
|
ttraw();
|
||||||
hidecursor();
|
hidecursor();
|
||||||
|
|||||||
Reference in new issue
Block a user