summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-09-14 13:20:11 -0400
committerJakob Kaivo <jkk@ung.org>2020-09-14 13:20:11 -0400
commitf7dbdf972fb9df90a18d8b4b5d87d9281dfc3a61 (patch)
tree2aa5add3b6f30c0d914c73f965deee47e8d2abbd /test.c
parent7930ea3e04e33f58ca5942c8b176b8d393ad89e2 (diff)
fix -t test
Diffstat (limited to 'test.c')
-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)