This commit is contained in:
Jan Horak 2023-03-02 10:54:51 +01:00 committed by Eike Rathke
parent c5324b88ce
commit eff2e4773e

View File

@ -195,7 +195,7 @@ fi
# When Firefox is not running, restore SELinux labels for profile files # When Firefox is not running, restore SELinux labels for profile files
# (rhbz#1731371) # (rhbz#1731371)
if [ $MOZILLA_DOWN -ne 0 ]; then 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/* &) (/usr/sbin/restorecon -vr ~/.mozilla/firefox/* &)
fi fi
fi fi