diff options
author | Lukas Vrabec <lvrabec@redhat.com> | 2016-07-15 16:15:50 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2016-07-15 16:15:50 +0200 |
commit | 481aa46e866fc6d99d954d9cf9cd2ab1898e0f84 (patch) | |
tree | 193d56654ffc3708a7e0a6976439c26f9b8f5bb2 | |
parent | 88d1927f514d6eca13fdd7ff169a6446eb81352d (diff) | |
download | initscripts-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
-rwxr-xr-x | systemd/fedora-import-state | 2 |
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 |