mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Checked for the wrong standard.
This commit is contained in:
parent
63566a2992
commit
9e548448d6
2
main.c
2
main.c
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue