Commit d72238fc authored by Lennart Poettering's avatar Lennart Poettering
Browse files

umount: make sure skip_ro is always correctly initialized

parent f1f8cfd0
......@@ -103,9 +103,7 @@ static int mount_points_list_get(MountPoint **head) {
/* If we encounter a bind mount, don't try to remount
* the source dir too early */
if (!streq(root, "/"))
skip_ro = true;
skip_ro = !streq(root, "/");
p = cunescape(path);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment