From a731d7b3a97fadd831df4f392fd5659ddfba7f56 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Thu, 2 Mar 2023 10:54:51 +0100 Subject: [PATCH] Related: #2167577 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2174241 --- firefox.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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