]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/mkdir.c
stat-util: generalize is_* and verify_* handling
[thirdparty/systemd.git] / src / basic / mkdir.c
index 5dd56c89a4ed8f08fdeb823ecb110ca793d4e060..7c1ad7dd64ad6b9096771b204260192729cf0caa 100644 (file)
@@ -112,7 +112,7 @@ int mkdirat_parents_internal(int dir_fd, const char *path, mode_t mode, uid_t ui
 
         /* drop the last component */
         path = strndupa_safe(path, e - path);
-        r = is_dir_full(dir_fd, path, true);
+        r = is_dir_at(dir_fd, path, /* follow = */ true);
         if (r > 0)
                 return 0;
         if (r == 0)