mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
prepare-root: Add another missing O_CLOEXEC
This commit is contained in:
parent
624512f9a7
commit
624b1084ab
@ -315,7 +315,7 @@ main (int argc, char *argv[])
|
||||
int cfs_fd;
|
||||
unsigned cfs_flags;
|
||||
|
||||
cfs_fd = open (".ostree.cfs", O_RDONLY);
|
||||
cfs_fd = open (".ostree.cfs", O_RDONLY | O_CLOEXEC);
|
||||
if (cfs_fd < 0)
|
||||
{
|
||||
if (errno == ENOENT)
|
||||
|
Loading…
Reference in New Issue
Block a user