win32_capture: check for STATUS_NOT_SUPPORTED from FSCTL_GET_EXTERNAL_BACKING
[wimlib] / src / win32_capture.c
index 70d7fd7..07d073b 100644 (file)
@@ -1279,7 +1279,8 @@ try_to_use_wimboot_hash(HANDLE h, struct wim_inode *inode,
                                                 NULL, 0, &out, sizeof(out));
 
                /* Is WOF not attached?  */
-               if (status == STATUS_INVALID_DEVICE_REQUEST) {
+               if (status == STATUS_INVALID_DEVICE_REQUEST ||
+                   status == STATUS_NOT_SUPPORTED) {
                        ctx->wof_not_attached = true;
                        return 0;
                }