diff options
author | Wayne Davison <wayned@samba.org> | 2014-05-25 15:58:14 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2014-05-25 16:00:13 -0700 |
commit | de8ec0b309705bf9987fd7d67874f7d1a6fa4f3b (patch) | |
tree | c4c6cefba6c08242232aebb9b39ecc38a7fad8b8 | |
parent | 677c6e14cc7d5f41371d5616865a5f0cfc0a273f (diff) | |
download | rsync-de8ec0b309705bf9987fd7d67874f7d1a6fa4f3b.tar.gz rsync-de8ec0b309705bf9987fd7d67874f7d1a6fa4f3b.tar.bz2 rsync-de8ec0b309705bf9987fd7d67874f7d1a6fa4f3b.zip |
Exit with a partial-transfer error for a sender-remove failure.
-rw-r--r-- | sender.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,7 +147,7 @@ void successful_send(int ndx) || (NSEC_BUMP(file) && (uint32)st.ST_MTIME_NSEC != F_MOD_NSEC(file)) #endif ) { - rprintf(FERROR, "ERROR: Skipping sender remove for changed file: %s\n", fname); + rprintf(FERROR_XFER, "ERROR: Skipping sender remove for changed file: %s\n", fname); return; } @@ -157,7 +157,7 @@ void successful_send(int ndx) if (errno == ENOENT) rprintf(FINFO, "sender file already removed: %s\n", fname); else - rsyserr(FERROR, errno, "sender failed to %s %s", failed_op, fname); + rsyserr(FERROR_XFER, errno, "sender failed to %s %s", failed_op, fname); } else { if (INFO_GTE(REMOVE, 1)) rprintf(FINFO, "sender removed %s\n", fname); |