]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: avoid an extraneous error when reporting errors
authorPádraig Brady <P@draigBrady.com>
Tue, 7 Oct 2014 18:48:53 +0000 (19:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Oct 2014 01:19:48 +0000 (02:19 +0100)
commit84616da89dbfc81e22f8c2fd077f1d61d788522c
tree4af9c72d495fbfc51d7db3e5636748c1b997196a
parentcce161dc05c05e1356e6e563e7628637cc54a134
copy: avoid an extraneous error when reporting errors

* src/copy.c (copy_reg): If sparse_copy() failed, then an
erroneous error about failing to extend the file would be reported.
src/copy.c