Skip to content

Commit

Permalink
app/compose: fix bad return values
Browse files Browse the repository at this point in the history
We should be returning `FALSE` here, not `EXIT_FAILURE`.

Closes: #1134
Approved by: cgwalters
  • Loading branch information
jlebon authored and rh-atomic-bot committed Dec 8, 2017
1 parent 7c99809 commit 2576789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/rpmostree-compose-builtin-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1124,10 +1124,10 @@ impl_commit_tree (RpmOstreeTreeComposeContext *self,
}

if (!rpmostree_rootfs_postprocess_common (self->rootfs_dfd, cancellable, error))
return EXIT_FAILURE;
return FALSE;
if (!rpmostree_postprocess_final (self->rootfs_dfd, self->treefile, opt_ex_unified_core,
cancellable, error))
return EXIT_FAILURE;
return FALSE;

if (self->treefile)
{
Expand Down

0 comments on commit 2576789

Please sign in to comment.