summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mount-setup.c')
-rw-r--r--src/mount-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index ecd9e181c5..8b4d8c7f44 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -68,11 +68,11 @@ bool mount_point_is_api(const char *path) {
* should be ignored */
for (i = 0; i < ELEMENTSOF(mount_table); i ++)
- if (path_startswith(path, mount_table[i].where))
+ if (path_equal(path, mount_table[i].where))
return true;
for (i = 0; i < ELEMENTSOF(ignore_paths); i++)
- if (path_startswith(path, ignore_paths[i]))
+ if (path_equal(path, ignore_paths[i]))
return true;
return path_startswith(path, "/cgroup/");