aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorLukas Vrabec <lvrabec@redhat.com>2016-07-15 16:15:50 +0200
committerLukas Nykryn <lnykryn@redhat.com>2016-07-15 16:15:50 +0200
commit481aa46e866fc6d99d954d9cf9cd2ab1898e0f84 (patch)
tree193d56654ffc3708a7e0a6976439c26f9b8f5bb2 /systemd
parent88d1927f514d6eca13fdd7ff169a6446eb81352d (diff)
downloadinitscripts-481aa46e866fc6d99d954d9cf9cd2ab1898e0f84.tar
initscripts-481aa46e866fc6d99d954d9cf9cd2ab1898e0f84.tar.gz
initscripts-481aa46e866fc6d99d954d9cf9cd2ab1898e0f84.tar.bz2
initscripts-481aa46e866fc6d99d954d9cf9cd2ab1898e0f84.tar.xz
initscripts-481aa46e866fc6d99d954d9cf9cd2ab1898e0f84.zip
import-state: restore also sensitivity part of SELinux context
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/fedora-import-state2
1 files changed, 1 insertions, 1 deletions
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