mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-10 10:27:13 -04:00
Mention who is outputting the "rsync error" or "rsync warning".
This commit is contained in:
8
log.c
8
log.c
@@ -733,11 +733,11 @@ void log_exit(int code, const char *file, int line)
|
||||
|
||||
/* VANISHED is not an error, only a warning */
|
||||
if (code == RERR_VANISHED) {
|
||||
rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d)\n",
|
||||
name, code, file, line);
|
||||
rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s]\n",
|
||||
name, code, file, line, who_am_i());
|
||||
} else {
|
||||
rprintf(FERROR, "rsync error: %s (code %d) at %s(%d)\n",
|
||||
name, code, file, line);
|
||||
rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s]\n",
|
||||
name, code, file, line, who_am_i());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user