diff options
Diffstat (limited to 'src/extras/sysreport/functions')
-rwxr-xr-x | src/extras/sysreport/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extras/sysreport/functions b/src/extras/sysreport/functions index fff52ccd..74061d18 100755 --- a/src/extras/sysreport/functions +++ b/src/extras/sysreport/functions @@ -48,14 +48,14 @@ getpciinfo() { catiffile() { if [ -d $1 ]; then - /bin/cp -p -x --parents -R $1 $ROOT 2>>$ROOT/$log + /bin/cp -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 -p --parents $1 $ROOT 2>>$ROOT/$log + /bin/cp --parents $1 $ROOT 2>>$ROOT/$log echo -n $STATUS echo_success return 1 |