From e2ea89dbbe1b1731ba4eda7fbe40ea315594a1c9 Mon Sep 17 00:00:00 2001 From: navid Date: Thu, 22 Nov 2007 10:40:27 +0000 Subject: merged navid-dev back into trunk, see spec file for details git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@457 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/extras/sysreport/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extras/sysreport/functions') diff --git a/src/extras/sysreport/functions b/src/extras/sysreport/functions index 74061d18..fff52ccd 100755 --- a/src/extras/sysreport/functions +++ b/src/extras/sysreport/functions @@ -48,14 +48,14 @@ getpciinfo() { catiffile() { if [ -d $1 ]; then - /bin/cp -x --parents -R $1 $ROOT 2>>$ROOT/$log + /bin/cp -p -x --parents -R $1 $ROOT 2>>$ROOT/$log find $ROOT/$1 -type b -o -type c | xargs rm -f 2>/dev/null || : echo -n $STATUS echo_success return 1 fi if [ -f $1 ]; then - /bin/cp --parents $1 $ROOT 2>>$ROOT/$log + /bin/cp -p --parents $1 $ROOT 2>>$ROOT/$log echo -n $STATUS echo_success return 1 -- cgit