summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-20 03:26:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-20 03:26:15 +0200
commit449ddb2d23a63ca4c8cd70d13a070fba87c1fb30 (patch)
treec202f02f5162b0881a0e8df4a35adc211fcd57b6 /src/mount-setup.c
parent11ce3427242b8b4ddf638ed5703d69041d719b4c (diff)
remount: add tool that applies /etc/fstab mount options to all api mounts
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/");