repo: Fix crash without SELinux policy enabled during commit
This commit is contained in:
parent
071916196c
commit
9fc9008af8
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue