bin/compose: Print correct final rootfs path

This was a thinko; `workdir_tmp` won't be set in this path. I think the code
changed here at some point.

Closes: #1076
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-10-26 10:08:40 -04:00 committed by Atomic Bot
parent 964ab1f8bc
commit 669031f63b

View File

@ -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;
}