- 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:
Ulf Lilleengen 2009-03-06 20:17:16 +00:00
parent 767a6e258b
commit 6a27d64362

View File

@ -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);