Fix exit status when there is an error copying a file.

This commit is contained in:
Matt Kraai 2001-04-30 16:37:04 +00:00
parent af166e7ce0
commit 24abecc349

View File

@ -242,5 +242,5 @@ end:
perror_msg("unable to preserve permissions of `%s'", dest);
}
return 0;
return status;
}