aboutsummaryrefslogtreecommitdiff
path: root/src/site.c
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-06-11 14:57:31 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-06-11 14:57:31 +0300
commit86bfbfc7f264e07515b75611142243fde45da465 (patch)
treea35c2a3aca51e220228df3d8e3f3634adc8cf4b1 /src/site.c
parent3c7230c191ade30d5b9c8ef02a019ba42ab519f5 (diff)
downloadrevela-86bfbfc7f264e07515b75611142243fde45da465.tar.gz
revela-86bfbfc7f264e07515b75611142243fde45da465.zip
Remove false error messages from dry-run mode
Diffstat (limited to 'src/site.c')
-rw-r--r--src/site.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site.c b/src/site.c
index f26907e..eedd30b 100644
--- a/src/site.c
+++ b/src/site.c
@@ -202,7 +202,7 @@ images_walk(struct bstnode *node, void *data)
}
success:
- setdatetime(image->dst, &ddate);
+ if (!site->dry_run) setdatetime(image->dst, &ddate);
return true;
magick_fail:
return false;