summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2022-06-21 11:20:16 +0200
committerJan Horak <jhorak@redhat.com>2022-06-21 11:20:16 +0200
commiteb4214a710399d5124f5922a22ef72a6ad676a58 (patch)
treeaf53617bd246a9b85dd4888647edc0f283ab84dc /firefox.sh.in
parentAdded fix for mozilla#1774271 (diff)
downloadlibrewolf-fedora-ff-eb4214a710399d5124f5922a22ef72a6ad676a58.tar.gz
librewolf-fedora-ff-eb4214a710399d5124f5922a22ef72a6ad676a58.tar.bz2
librewolf-fedora-ff-eb4214a710399d5124f5922a22ef72a6ad676a58.zip
Use $GETENFORCE_FILE to call getenforce with full path: rhbz#2091219
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index 76df06b..5fef0b2 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -193,7 +193,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
(restorecon -vr ~/.mozilla/firefox/* &)
fi
fi
bgstack15