aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2016-09-12 12:46:20 +0200
committerLukas Nykryn <lnykryn@redhat.com>2016-09-12 12:46:20 +0200
commit86609317f4e05d9cb2d5cdbfad00a3420f002c23 (patch)
treed233f7e1abe3f7366e46ea8856f8fdf420ae72e0
parent56ae0670bb89030ec58aa9533eb952fa380b9c67 (diff)
downloadinitscripts-86609317f4e05d9cb2d5cdbfad00a3420f002c23.tar
initscripts-86609317f4e05d9cb2d5cdbfad00a3420f002c23.tar.gz
initscripts-86609317f4e05d9cb2d5cdbfad00a3420f002c23.tar.bz2
initscripts-86609317f4e05d9cb2d5cdbfad00a3420f002c23.tar.xz
initscripts-86609317f4e05d9cb2d5cdbfad00a3420f002c23.zip
rhel-import-state: fix broken order of parameters
Resolves: #1375054
-rwxr-xr-xsystemd/rhel-import-state2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/rhel-import-state b/systemd/rhel-import-state
index a3c429d0..109ef757 100755
--- a/systemd/rhel-import-state
+++ b/systemd/rhel-import-state
@@ -3,7 +3,7 @@
# copy state into root
cd /run/initramfs/state
-find . -mindepth 1 -maxdepth 1 -exec cp -v -t -R --preserve=mode,ownership,timestamps,links / {} \;
+find . -mindepth 1 -maxdepth 1 -exec cp -v -R --preserve=mode,ownership,timestamps,links -t / {} \;
# run restorecon on the copied files
if [ -e /sys/fs/selinux/enforce -a -x /usr/sbin/restorecon ]; then