aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/fedora-autorelabel
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/fedora-autorelabel')
-rwxr-xr-xsystemd/fedora-autorelabel3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 61dc5517..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 -F restore > /dev/null 2>&1
+ FORCE=`cat /.autorelabel`
+ /sbin/fixfiles $FORCE restore > /dev/null 2>&1
fi
rm -f /.autorelabel
systemctl --force reboot