summaryrefslogtreecommitdiff
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 3a318eb..f3c7fb7 100644
--- 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);
}