X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwin32.c;h=aec728fe17e4f319b6ee50daf945a5f137f588d8;hb=db9a61d62db87df4228ad3e6f3fcef1f5a4e14bc;hp=eb198525ee08332277518040522d20638be34c88;hpb=5583aa693640a088ca961347104bc830436b2184;p=wimlib diff --git a/src/win32.c b/src/win32.c index eb198525..aec728fe 100644 --- a/src/win32.c +++ b/src/win32.c @@ -1045,10 +1045,10 @@ win32_capture_streams(const wchar_t *path, return 0; } else { if (err == ERROR_ACCESS_DENIED) { - ERROR("Failed to look up data streams " - "of \"%ls\": Access denied!\n%ls", - path, capture_access_denied_msg); - return WIMLIB_ERR_READ; + WARNING("Failed to look up data streams " + "of \"%ls\": Access denied!\n%ls", + path, capture_access_denied_msg); + return 0; } else { ERROR("Failed to look up data streams " "of \"%ls\"", path);