Checked for the wrong standard.

This commit is contained in:
Con Kolivas 2011-02-28 21:18:53 +11:00
parent 63566a2992
commit 9e548448d6

2
main.c
View file

@ -1035,7 +1035,7 @@ int main(int argc, char *argv[])
usage(); usage();
exit (1); 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"); print_err("Will not write stdout to a terminal. Use -f to override.\n");
usage(); usage();
exit (1); exit (1);