From 481aa46e866fc6d99d954d9cf9cd2ab1898e0f84 Mon Sep 17 00:00:00 2001 From: Lukas Vrabec Date: Fri, 15 Jul 2016 16:15:50 +0200 Subject: import-state: restore also sensitivity part of SELinux context --- systemd/fedora-import-state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd') diff --git a/systemd/fedora-import-state b/systemd/fedora-import-state index 07fd5cad..5ad29d41 100755 --- a/systemd/fedora-import-state +++ b/systemd/fedora-import-state @@ -7,5 +7,5 @@ find . -mindepth 1 -maxdepth 1 -exec cp -av -t / {} \; # run restorecon on the copied files if [ -e /sys/fs/selinux/enforce -a -x /usr/sbin/restorecon ]; then - find . -mindepth 1 -print0 | { cd / && xargs --null restorecon -i; } + find . -mindepth 1 -print0 | { cd / && xargs --null restorecon -iF; } fi -- cgit v1.2.1