Skip to content

Commit

Permalink
bin/compose: Print correct final rootfs path
Browse files Browse the repository at this point in the history
This was a thinko; `workdir_tmp` won't be set in this path. I think the code
changed here at some point.

Closes: coreos#1076
Approved by: jlebon
  • Loading branch information
cgwalters authored and rh-atomic-bot committed Oct 26, 2017
1 parent 964ab1f commit 669031f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/rpmostree-compose-builtin-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,9 +1099,7 @@ rpmostree_compose_builtin_install (int argc,
gboolean changed;
if (!impl_install_tree (self, &changed, cancellable, error))
return EXIT_FAILURE;
/* Keep the dir around */
g_print ("rootfs: %s/rootfs\n", self->workdir_tmp.path);
glnx_tmpdir_unset (&self->workdir_tmp);
g_print ("rootfs: %s/rootfs\n", destdir);

return EXIT_SUCCESS;
}
Expand Down

0 comments on commit 669031f

Please sign in to comment.