aboutsummaryrefslogtreecommitdiffstats
path: root/src/extras/sysreport/functions
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2008-10-23 13:31:29 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2008-10-23 13:31:29 +0000
commit8d443ca846f670e971f09235ca792e45239f6f81 (patch)
treedc9caa0c9414fe876707162f53b4722b54f3cdf7 /src/extras/sysreport/functions
parentc5bf8bbac0c3c672d6bb22d0c54c9ab479abfde3 (diff)
downloadsos-8d443ca846f670e971f09235ca792e45239f6f81.tar.gz
sync
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@532 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/extras/sysreport/functions')
-rwxr-xr-xsrc/extras/sysreport/functions4
1 files changed, 2 insertions, 2 deletions
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