]> wimlib.net Git - wimlib/blobdiff - src/win32.c
win32_capture_streams(): Only warn on stream lookup fail
[wimlib] / src / win32.c
index eb198525ee08332277518040522d20638be34c88..aec728fe17e4f319b6ee50daf945a5f137f588d8 100644 (file)
@@ -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);