From db9a61d62db87df4228ad3e6f3fcef1f5a4e14bc Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 27 Apr 2013 23:56:27 -0500 Subject: [PATCH] win32_capture_streams(): Only warn on stream lookup fail --- src/win32.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.43.0