]> wimlib.net Git - wimlib/blobdiff - src/unix_apply.c
Miscellaneous fixes and cleanups
[wimlib] / src / unix_apply.c
index e27accff294769c9e95b2114ce0b963d81e3a9f7..fd5d972d404de454bef7dbb28d5a6b26d06977a0 100644 (file)
@@ -124,7 +124,7 @@ unix_set_unix_data(const tchar *path, const struct wimlib_unix_data *data,
        struct stat stbuf;
 
        if (lstat(path, &stbuf))
-               return WIMLIB_ERR_STAT;
+               return WIMLIB_ERR_SET_SECURITY;
        if (!S_ISLNK(stbuf.st_mode))
                if (chmod(path, data->mode))
                        return WIMLIB_ERR_SET_SECURITY;