repo: Fix crash without SELinux policy enabled during commit

This commit is contained in:
Colin Walters 2014-02-20 14:19:49 -05:00
parent 071916196c
commit 9fc9008af8
1 changed files with 1 additions and 1 deletions

View File

@ -1709,7 +1709,7 @@ get_modified_xattrs (OstreeRepo *self,
goto out; goto out;
} }
if (modifier->sepolicy) if (modifier && modifier->sepolicy)
{ {
gs_free char *label = NULL; gs_free char *label = NULL;