mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-24 14:48:16 -04:00
Skip transfer logging if the logfile_format string is empty.
This commit is contained in:
1 parent
10ae3406ee
commit
ec52c3b9da
1 file changed
+1
-1
@@ -687,7 +687,7 @@ void log_item(enum logcode code, struct file_struct *file,
|
||||
log_formatted(FNAME, stdout_format, s_or_r,
|
||||
file, initial_stats, iflags, hlink);
|
||||
}
|
||||
if (code != FNAME && logfile_format) {
|
||||
if (code != FNAME && logfile_format && *logfile_format) {
|
||||
log_formatted(FLOG, logfile_format, s_or_r,
|
||||
file, initial_stats, iflags, hlink);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user