diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/update.c b/src/update.c index e0e7f9c..0c65d4c 100644 --- a/src/update.c +++ b/src/update.c @@ -149,8 +149,7 @@ static int iterate_dir(struct syrep_db_context *c, struct syrep_md_cache *cache, goto finish; } - if (args.progress_flag) - rotdash(); + rotdash(); snprintf(p, sizeof(p), "%s/%s", root, de->d_name); @@ -226,8 +225,7 @@ int update(struct syrep_db_context *c, struct syrep_md_cache *cache) { if (iterate_dir(c, cache, version, ".") < 0) return -1; - if (args.progress_flag) - rotdash_hide(); + rotdash_hide(); if (new_version(c, version, now) < 0) return -1; |