Commit 15778afb authored by Wayne Davison's avatar Wayne Davison

In set_modtime(), the verbose message should be output even if

--dry-run was specified.
parent d06f6328
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment