mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Checked for the wrong standard.
This commit is contained in:
parent
63566a2992
commit
9e548448d6
1 changed files with 1 additions and 1 deletions
2
main.c
2
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue