diff options
Diffstat (limited to '')
-rw-r--r-- | src/shared/mount-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mount-setup.c b/src/shared/mount-setup.c index a602f6f1e2..a492e7127f 100644 --- a/src/shared/mount-setup.c +++ b/src/shared/mount-setup.c @@ -177,7 +177,7 @@ static int mount_one(const MountPoint *p, bool relabel) { if (relabel) (void) label_fix(p->where, LABEL_IGNORE_ENOENT|LABEL_IGNORE_EROFS); - r = path_is_mount_point(p->where, NULL, AT_SYMLINK_FOLLOW); + r = path_is_mount_point_full(p->where, /* root = */ NULL, AT_SYMLINK_FOLLOW); if (r < 0 && r != -ENOENT) { log_full_errno(priority, r, "Failed to determine whether %s is a mount point: %m", p->where); return (p->mode & MNT_FATAL) ? r : 0; |