]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update zstdcli.c
authorbrailovich <91924341+brailovich@users.noreply.github.com>
Thu, 27 Jan 2022 00:51:18 +0000 (16:51 -0800)
committerGitHub <noreply@github.com>
Thu, 27 Jan 2022 00:51:18 +0000 (16:51 -0800)
programs/zstdcli.c

index 34d2fa6e0d9575708d89b8cbf13e2d98b80f7bd0..a8fc0d0486e83a84f8930ea695c1087c84ffe1a6 100644 (file)
@@ -1366,8 +1366,8 @@ int main(int argCount, const char* argv[])
        was a number of empty directories. In this case
        stdin and stdout should not be used */
        if (nbInputFileNames > 0 ){
-        DISPLAYLEVEL(2, "please provide correct input file(s) or non-empty directories -- ignored \n");
-        CLEAN_RETURN(2);
+        DISPLAYLEVEL(1, "please provide correct input file(s) or non-empty directories -- ignored \n");
+        CLEAN_RETURN(0);
        }
        UTIL_refFilename(filenames, stdinmark);
     }