aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 3a318ebba..f3c7fb74f 100644
--- a/tty.c
+++ b/tty.c
@@ -46,5 +46,5 @@ extern int tty_main(int argc, char **argv)
46 else 46 else
47 puts("not a tty"); 47 puts("not a tty");
48 } 48 }
49 exit(isatty(0) ? TRUE : FALSE); 49 return(isatty(0) ? TRUE : FALSE);
50} 50}