prepare-root: Add another missing O_CLOEXEC

This commit is contained in:
Colin Walters 2023-06-02 13:10:12 -04:00
parent 624512f9a7
commit 624b1084ab

View File

@ -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)