diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-20 03:26:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-20 03:26:15 +0200 |
commit | 449ddb2d23a63ca4c8cd70d13a070fba87c1fb30 (patch) | |
tree | c202f02f5162b0881a0e8df4a35adc211fcd57b6 /src/mount-setup.c | |
parent | 11ce3427242b8b4ddf638ed5703d69041d719b4c (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.c | 4 |
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/"); |