fs-util: rename laccess to access_nofollow
In order to distinguish it from libc function naming.
This commit is contained in:
@@ -743,7 +743,7 @@ _public_ int sd_booted(void) {
|
||||
/* We test whether the runtime unit file directory has been created. This takes place in mount-setup.c,
|
||||
* so is guaranteed to happen very early during boot. */
|
||||
|
||||
r = laccess("/run/systemd/system/", F_OK);
|
||||
r = access_nofollow("/run/systemd/system/", F_OK);
|
||||
if (r >= 0)
|
||||
return true;
|
||||
if (r == -ENOENT)
|
||||
|
||||
Reference in New Issue
Block a user