summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/path-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c
index 2dddc8f2f6..39f77f6454 100644
--- a/src/shared/path-util.c
+++ b/src/shared/path-util.c
@@ -385,7 +385,7 @@ fallback:
if (allow_symlink)
r = stat(t, &a);
else
- r = lstat(t, &b);
+ r = lstat(t, &a);
if (r < 0)
return -errno;