cp: fix a probably redundant chmod when setting xattrs
commitfe6f4e305c4ae24c542c460b8abddea648c7e8d1
authorOndřej Vašík <ovasik@redhat.com>
Tue, 15 Sep 2009 09:41:23 +0000 (15 10:41 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 15 Sep 2009 09:51:13 +0000 (15 10:51 +0100)
tree98d1b7dd9a0797c0fc351a25e0a952fc70d4cad3
parenta77fb35364b3d69cb79f96d04dc22e54bc62b9a4
cp: fix a probably redundant chmod when setting xattrs

* src/copy.c (copy_reg): Fix initial value of access_changed variable.
This was introduced by Pádraig Brady in commit cca83faf, 2009-09-14,
"cp,mv: preserve extended attributes even for read-only files"
src/copy.c