repo: Fix crash without SELinux policy enabled during commit
This commit is contained in:
1 parent
071916196c
commit
9fc9008af8
1 file changed
+1
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user