summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mount-setup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index 71b32d9be7..23fb0a1e38 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -157,12 +157,8 @@ static int mount_one(const MountPoint *p, bool relabel) {
label_fix(p->where, true, true);
r = path_is_mount_point(p->where, true);
- if (r == -ENOENT)
- return 0;
-
- if (r < 0)
+ if (r < 0 && r != -ENOENT)
return r;
-
if (r > 0)
return 0;