From 87210b5f4b92660b737f4c3e56b44c1c19a37fac Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Wed, 12 Oct 2005 08:43:00 +0000 Subject: trivial generate exit code --- console-tools/clear.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'console-tools') 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; } -- cgit v1.1