mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-06 14:53:50 +00:00
Ignore what stdout is going to when testing from stdin.
This commit is contained in:
parent
556803752b
commit
96efe033fd
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -1032,7 +1032,7 @@ int main(int argc, char *argv[])
|
|||
usage();
|
||||
exit (1);
|
||||
}
|
||||
if (STDOUT && isatty(fileno((FILE *)stdout))) {
|
||||
if (!TEST_ONLY && 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