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
@@ -513,7 +513,7 @@ static FILE* FIO_openSrcFile(const char* srcFileName)
return NULL;
}
if (!UTIL_isRegularFile(srcFileName)) {
if (!UTIL_isRegularFile(srcFileName) && !UTIL_isFIFO(srcFileName)) {
DISPLAYLEVEL(1, "zstd: %s is not a regular file -- ignored \n",
srcFileName);
return NULL;