Skip to content

Commit

Permalink
fixup! treecompose: Prepare device API mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Apr 7, 2017
1 parent 9d294d5 commit 36eeb80
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/rpmostree-compose-builtin-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ set_keyfile_string_array_from_json (GKeyFile *keyfile,
return ret;
}

/* Prpare /dev in the target root with the API devices. TODO:
/* Prepare /dev in the target root with the API devices. TODO:
* Delete this when we implement https://github.com/projectatomic/rpm-ostree/issues/729
*/
static gboolean
Expand Down Expand Up @@ -245,8 +245,7 @@ libcontainer_prep_dev (int rootfs_dfd,
{
if (errno == ENOENT)
continue;
else
glnx_throw_errno (error);
return glnx_throw_errno (error);
}

if (mknodat (dest_fd, nodename, stbuf.st_mode, stbuf.st_rdev) != 0)
Expand Down

0 comments on commit 36eeb80

Please sign in to comment.