diff options
Diffstat (limited to 'coreutils/tty.c')
-rw-r--r-- | coreutils/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tty.c b/coreutils/tty.c index 3a318ebba..f3c7fb74f 100644 --- a/coreutils/tty.c +++ b/coreutils/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); } |