diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-12 12:43:00 +0400 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-12 12:43:00 +0400 |
commit | 87210b5f4b92660b737f4c3e56b44c1c19a37fac (patch) | |
tree | 77ccca8fec73a4c28ad52d859e89e92d84e0cb7b /console-tools/clear.c | |
parent | ffe17b51b4305519d39e6772ce0bc7c564efede7 (diff) |
trivial generate exit code
Diffstat (limited to 'console-tools/clear.c')
-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 e43ed0e02..020cdfb47 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; } |