diff --git a/yeeshell.c b/yeeshell.c index f770542..05a4b40 100644 --- a/yeeshell.c +++ b/yeeshell.c @@ -409,8 +409,9 @@ int builtin_mytop() if (prev_proc == NULL) get_procs(); print_procs(prev_proc, proc, cputimemode); - exit(1); + exit(0); } + return 1; } void mytop_memory()