Skip to content

Commit

Permalink
fixup! checkout: Add force_copy+SELinux options for checkout, use in …
Browse files Browse the repository at this point in the history
…deploy
  • Loading branch information
cgwalters committed Apr 19, 2017
1 parent 3d14c7a commit e761345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libostree/ostree-repo-checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ checkout_tree_at_recurse (OstreeRepo *self,
int res;
const gboolean sepolicy_enabled = options->sepolicy && !self->disable_xattrs;
g_autoptr(GVariant) xattrs = NULL;
g_autoptr(GVariant) modified_xattrs = NULL;

if (options->mode != OSTREE_REPO_CHECKOUT_MODE_USER)
{
Expand All @@ -603,7 +604,6 @@ checkout_tree_at_recurse (OstreeRepo *self,
* setfscreatecon().
*/
{
g_autoptr(GVariant) modified_xattrs = NULL;
g_auto(OstreeSepolicyFsCreatecon) fscreatecon = { 0, };

/* If we're doing SELinux labeling, prepare it */
Expand Down

0 comments on commit e761345

Please sign in to comment.