projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport.
[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);
}