]> wimlib.net Git - wimlib/blobdiff - src/win32_apply.c
win32_apply.c: correct return value of adjust_compression_attribute
[wimlib] / src / win32_apply.c
index ef5b9014953dccbc54c1813830ac30325c992d24..6f9e41b98393669f8ad42151ecd9407c4c2c6e88 100644 (file)
@@ -1129,7 +1129,7 @@ adjust_compression_attribute(HANDLE h, const struct wim_dentry *dentry,
        status = winnt_fsctl(h, FSCTL_SET_COMPRESSION,
                             &compression_state, sizeof(USHORT), NULL, 0, NULL);
        if (NT_SUCCESS(status))
-               return status;
+               return 0;
 
        winnt_error(status, L"Can't %s compression attribute on \"%ls\"",
                    (compressed ? "set" : "clear"), current_path(ctx));