mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 22:04:15 -04:00
In set_modtime(), the verbose message should be output even if
--dry-run was specified.
This commit is contained in:
1 parent
d06f63287e
commit
15778afbdc
1 file changed
+3
-3
@@ -130,15 +130,15 @@ void overflow(char *str)
|
||||
|
||||
int set_modtime(char *fname, time_t modtime)
|
||||
{
|
||||
if (dry_run)
|
||||
return 0;
|
||||
|
||||
if (verbose > 2) {
|
||||
rprintf(FINFO, "set modtime of %s to (%ld) %s",
|
||||
fname, (long)modtime,
|
||||
asctime(localtime(&modtime)));
|
||||
}
|
||||
|
||||
if (dry_run)
|
||||
return 0;
|
||||
|
||||
{
|
||||
#ifdef HAVE_UTIMBUF
|
||||
struct utimbuf tbuf;
|
||||
|
||||
Reference in new issue
Block a user