diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/path-util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c index 39f77f6454..97a200504b 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -387,8 +387,12 @@ fallback: else r = lstat(t, &a); - if (r < 0) + if (r < 0) { + if (errno == ENOENT) + return 0; + return -errno; + } r = path_get_parent(t, &parent); if (r < 0) |