From 15778afbdcd66d360219d24240751e9e256cbe6a Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 20 Jan 2005 22:58:30 +0000 Subject: [PATCH] In set_modtime(), the verbose message should be output even if --dry-run was specified. --- util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util.c b/util.c index 99a3a5dd..1e1c9db8 100644 --- a/util.c +++ b/util.c @@ -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; -- 2.34.1