corrected the separator when using URL globbing
This commit is contained in:
Родитель
803005892c
Коммит
39e939a507
|
@ -1530,7 +1530,7 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||
/* save outfile pattern before expansion */
|
||||
outfiles = urlnode->outfile?strdup(urlnode->outfile):NULL;
|
||||
|
||||
if (outfiles && strequal(outfiles, "-") && urlnum > 1) {
|
||||
if (!outfiles || strequal(outfiles, "-") && urlnum > 1) {
|
||||
/* multiple files extracted to stdout, insert separators! */
|
||||
separator = 1;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче