diff --git a/firefox.sh.in b/firefox.sh.in index 3333339..dee5394 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -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