summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.c b/test.c
index 7736d2d..bf7d687 100644
--- a/test.c
+++ b/test.c
@@ -115,7 +115,7 @@ static int test_s(struct test_arg a)
static int test_t(struct test_arg a)
{
- return isatty((int)a.n);
+ return isatty((int)a.n) ? 0 : 1;
}
static int test_u(struct test_arg a)