Commit 429ef01c authored by Baptiste Daroussin's avatar Baptiste Daroussin
Browse files

Fix a filedescriptor leak on utimensat fallback

parent abde848e
......@@ -246,6 +246,7 @@ set_attrs(int fd, char *path, mode_t perm, uid_t uid, gid_t gid,
}
}
fchdir(fdcwd);
close(fdcwd);
#endif
if (getenv("INSTALL_AS_USER") == NULL) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment