[systemd-devel] [PATCH] path: follow symbolic link for parent path
Umut Tezduyar Lindskog
umut.tezduyar at axis.com
Tue Dec 16 12:58:39 PST 2014
---
src/shared/path-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/path-util.c b/src/shared/path-util.c
index dcc8321..304281f 100644
--- a/src/shared/path-util.c
+++ b/src/shared/path-util.c
@@ -518,7 +518,7 @@ fallback:
if (r < 0)
return r;
- r = lstat(parent, &b);
+ r = stat(parent, &b);
if (r < 0)
return -errno;
--
2.1.1
More information about the systemd-devel
mailing list