From 9e548448d655d91aa3f76f8a9222da4130a8c97b Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 28 Feb 2011 21:18:53 +1100 Subject: [PATCH] Checked for the wrong standard. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 8c9d2b4..7a0a635 100644 --- a/main.c +++ b/main.c @@ -1035,7 +1035,7 @@ int main(int argc, char *argv[]) usage(); exit (1); } - if (STDIN && isatty(fileno((FILE *)stdout))) { + if (STDOUT && isatty(fileno((FILE *)stdout))) { print_err("Will not write stdout to a terminal. Use -f to override.\n"); usage(); exit (1);