projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
[oweals/busybox.git]
/
tty.c
diff --git
a/tty.c
b/tty.c
index 3a318ebbab5f5c1a40ac04e748a1a9b2b9ca86fa..f3c7fb74f5ceefb3297a839c6b170ebfd1a6da3f 100644
(file)
--- a/
tty.c
+++ b/
tty.c
@@
-46,5
+46,5
@@
extern int tty_main(int argc, char **argv)
else
puts("not a tty");
}
-
exit
(isatty(0) ? TRUE : FALSE);
+
return
(isatty(0) ? TRUE : FALSE);
}