summaryrefslogtreecommitdiffstats
path: root/src/volatile-root/volatile-root.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/volatile-root/volatile-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volatile-root/volatile-root.c b/src/volatile-root/volatile-root.c
index 27be7bd..9ab9650 100644
--- a/src/volatile-root/volatile-root.c
+++ b/src/volatile-root/volatile-root.c
@@ -154,7 +154,7 @@ static int run(int argc, char *argv[]) {
if (!IN_SET(m, VOLATILE_YES, VOLATILE_OVERLAY))
return 0;
- r = path_is_mount_point(path, NULL, AT_SYMLINK_FOLLOW);
+ r = path_is_mount_point_full(path, /* root = */ NULL, AT_SYMLINK_FOLLOW);
if (r < 0)
return log_error_errno(r, "Couldn't determine whether %s is a mount point: %m", path);
if (r == 0)