summaryrefslogtreecommitdiff
path: root/src/libostree
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree')
-rw-r--r--src/libostree/ostree-sysroot-deploy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
index f27ae0e1..26b07080 100644
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -2987,12 +2987,12 @@ sysroot_finalize_deployment (OstreeSysroot *self,
if (!merge_configuration_from (self, merge_deployment, deployment, deployment_dfd,
cancellable, error))
return FALSE;
- }
#ifdef HAVE_SELINUX
- if (!sysroot_finalize_selinux_policy(deployment_dfd, error))
- return FALSE;
+ if (!sysroot_finalize_selinux_policy (deployment_dfd, error))
+ return FALSE;
#endif /* HAVE_SELINUX */
+ }
const char *osdeploypath = glnx_strjoina ("ostree/deploy/", ostree_deployment_get_osname (deployment));
glnx_autofd int os_deploy_dfd = -1;