Allowing named pipes to go through zstdcli

This commit is contained in:
Bimba Shrestha
2019-10-22 15:23:22 -07:00
parent 24bc2e062d
commit 8a3974807e
4 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -992,7 +992,7 @@ int main(int argCount, const char* argv[])
if (!followLinks) {
unsigned u;
for (u=0, fileNamesNb=0; u<filenameIdx; u++) {
if (UTIL_isLink(filenameTable[u])) {
if (UTIL_isLink(filenameTable[u]) && !UTIL_isFIFO(filenameTable[u])) {
DISPLAYLEVEL(2, "Warning : %s is a symbolic link, ignoring\n", filenameTable[u]);
} else {
filenameTable[fileNamesNb++] = filenameTable[u];