Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support the recent changes in the flist_struct.
[rsync/rsync.git]
/
cleanup.c
diff --git
a/cleanup.c
b/cleanup.c
index
49d1830
..
ea97339
100644
(file)
--- a/
cleanup.c
+++ b/
cleanup.c
@@
-131,8
+131,11
@@
void _exit_cleanup(int code, const char *file, int line)
}
}
}
}
- if (code == 0 && (io_error || log_got_error)) {
- code = RERR_PARTIAL;
+ if (code == 0) {
+ if ((io_error & ~IOERR_VANISHED) || log_got_error)
+ code = RERR_PARTIAL;
+ else if (io_error)
+ code = RERR_VANISHED;
}
if (code) log_exit(code, file, line);
}
if (code) log_exit(code, file, line);