diff options
author | "Vladimir N. Oleynik" | 2005-10-12 08:43:00 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-10-12 08:43:00 +0000 |
commit | 87210b5f4b92660b737f4c3e56b44c1c19a37fac (patch) | |
tree | 77ccca8fec73a4c28ad52d859e89e92d84e0cb7b | |
parent | ffe17b51b4305519d39e6772ce0bc7c564efede7 (diff) | |
download | busybox-87210b5f4b92660b737f4c3e56b44c1c19a37fac.zip busybox-87210b5f4b92660b737f4c3e56b44c1c19a37fac.tar.gz |
trivial generate exit code
-rw-r--r-- | console-tools/clear.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/console-tools/clear.c b/console-tools/clear.c index e43ed0e..020cdfb 100644 --- a/console-tools/clear.c +++ b/console-tools/clear.c @@ -29,6 +29,5 @@ extern int clear_main(int argc, char **argv) { - printf("\033[H\033[J"); - return EXIT_SUCCESS; + return printf("\033[H\033[J") != 6; } |