fs-util: rename laccess to access_nofollow
In order to distinguish it from libc function naming.
This commit is contained in:
+1
-1
@@ -6154,7 +6154,7 @@ static int run(int argc, char *argv[]) {
|
||||
goto finish;
|
||||
}
|
||||
|
||||
if (laccess(p, F_OK) < 0) {
|
||||
if (access_nofollow(p, F_OK) < 0) {
|
||||
r = log_error_errno(SYNTHETIC_ERRNO(EINVAL),
|
||||
"Directory %s doesn't look like it has an OS tree (/usr/ directory is missing). Refusing.", arg_directory);
|
||||
goto finish;
|
||||
|
||||
Reference in New Issue
Block a user