diff options
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | } |