aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsystemd/fedora-autorelabel3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 689908a7..7cb9b40c 100755
--- a/systemd/fedora-autorelabel
+++ b/systemd/fedora-autorelabel
@@ -27,7 +27,8 @@ relabel_selinux() {
echo $"*** Relabeling could take a very long time, depending on file"
echo $"*** system size and speed of hard drives."
- /sbin/fixfiles restore > /dev/null 2>&1
+ FORCE=`cat /.autorelabel`
+ /sbin/fixfiles $FORCE restore > /dev/null 2>&1
fi
rm -f /.autorelabel
systemctl --force reboot