From 3124284ced2903518f6d277b8c8d63ed79da47b7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 12:23:36 +0200 Subject: Merging upstream version 252.23. Signed-off-by: Daniel Baumann --- src/login/user-runtime-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login/user-runtime-dir.c') diff --git a/src/login/user-runtime-dir.c b/src/login/user-runtime-dir.c index f96a2d8..c74d8b8 100644 --- a/src/login/user-runtime-dir.c +++ b/src/login/user-runtime-dir.c @@ -66,7 +66,7 @@ static int user_mkdir_runtime_path( if (r < 0) return log_error_errno(r, "Failed to create /run/user: %m"); - if (path_is_mount_point(runtime_path, NULL, 0) >= 0) + if (path_is_mount_point(runtime_path, NULL, 0) > 0) log_debug("%s is already a mount point", runtime_path); else { char options[sizeof("mode=0700,uid=,gid=,size=,nr_inodes=,smackfsroot=*") -- cgit v1.2.3