diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c index ed0262e06f..9318c228a1 100644 --- a/src/ostree/ot-admin-builtin-deploy.c +++ b/src/ostree/ot-admin-builtin-deploy.c @@ -178,8 +178,8 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeCommandInvocation *invocat OstreeSysrootSimpleWriteDeploymentFlags flags = 0; if (opt_retain_previous) flags = OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_RETAIN_PREVIOUS_VERSION; - if (!ostree_sysroot_stage_tree (sysroot, opt_osname, revision, origin, merge_deployment, - kargs_strv, &new_deployment, flags, cancellable, error)) + if (!ostree_sysroot_stage_tree_with_flags (sysroot, opt_osname, revision, origin, merge_deployment, + kargs_strv, &new_deployment, flags, cancellable, error)) return FALSE; g_assert (new_deployment); }