summaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-08-31 14:34:25 +0000
committerLennart Poettering <lennart@poettering.net>2003-08-31 14:34:25 +0000
commitf0f2ed47e265ca01dea3b8a217afc8b45690fc5e (patch)
treedad67a133464335dc96622552c7b039131137832 /src/update.c
parent4c3f7894b1e9d48d76eccc382eea93a8ba9b74e9 (diff)
resolv ed conbflict
git-svn-id: file:///home/lennart/svn/public/syrep/trunk@17 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c6
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;