diff options
author | lulf <lulf@FreeBSD.org> | 2009-03-06 20:17:16 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-03-06 20:17:16 +0000 |
commit | ab7611c43227793f4651a7d0becbc5c1e66e4526 (patch) | |
tree | 4f3789088d78392789a58b3a439919535a9c3927 /contrib | |
parent | b5b061b75beabed75552bc163a30933c7a602779 (diff) | |
download | FreeBSD-src-ab7611c43227793f4651a7d0becbc5c1e66e4526.zip FreeBSD-src-ab7611c43227793f4651a7d0becbc5c1e66e4526.tar.gz |
- 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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/csup/updater.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/updater.c b/contrib/csup/updater.c index 20544ec..40122ac 100644 --- a/contrib/csup/updater.c +++ b/contrib/csup/updater.c @@ -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); |