- Try to handle rcsfile write failures in the same way as cvsup, as they are not
necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred.
This commit is contained in:
parent
767a6e258b
commit
6a27d64362
@ -1682,7 +1682,7 @@ updater_rcsedit(struct updater *up, struct file_update *fup, char *name,
|
||||
stream_close(dest);
|
||||
rcsfile_free(rf);
|
||||
if (error)
|
||||
return (UPDATER_ERR_PROTO);
|
||||
lprintf(-1, "Error writing %s\n", name);
|
||||
|
||||
finish:
|
||||
sr->sr_clientattr = fattr_frompath(path, FATTR_NOFOLLOW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user