Related: #2167577 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2174241
This commit is contained in:
parent
c5324b88ce
commit
eff2e4773e
@ -195,7 +195,7 @@ fi
|
||||
# When Firefox is not running, restore SELinux labels for profile files
|
||||
# (rhbz#1731371)
|
||||
if [ $MOZILLA_DOWN -ne 0 ]; then
|
||||
if [ -x $GETENFORCE_FILE ] && [ `getenforce` != "Disabled" ]; then
|
||||
if [ -x $GETENFORCE_FILE ] && [ `$GETENFORCE_FILE` != "Disabled" ]; then
|
||||
(/usr/sbin/restorecon -vr ~/.mozilla/firefox/* &)
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user