commit | 87210b5f4b92660b737f4c3e56b44c1c19a37fac | [log] [tgz] |
---|---|---|
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | Wed Oct 12 08:43:00 2005 +0000 |
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | Wed Oct 12 08:43:00 2005 +0000 |
tree | 77ccca8fec73a4c28ad52d859e89e92d84e0cb7b | |
parent | ffe17b51b4305519d39e6772ce0bc7c564efede7 [diff] |
trivial generate exit code
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; }