projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe17b5
)
trivial generate exit code
author
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Wed, 12 Oct 2005 08:43:00 +0000
(08:43 -0000)
committer
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Wed, 12 Oct 2005 08:43:00 +0000
(08:43 -0000)
console-tools/clear.c
patch
|
blob
|
history
diff --git
a/console-tools/clear.c
b/console-tools/clear.c
index e43ed0e02d90e5569632148c3196771499355539..020cdfb478455e0a11e375e823a1fcd311176245 100644
(file)
--- 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;
}