diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 5cc176e..69244e1 100644 --- a/src/update.c +++ b/src/update.c @@ -204,7 +204,7 @@ static int iterate_dir(struct syrep_db_context *c, struct syrep_md_cache *cache, normalize_path(p); - if (stat(p, &st) < 0) { + if (lstat(p, &st) < 0) { fprintf(stderr, "stat(%s) failed: %s\n", p, strerror(errno)); continue; } |