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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 056e4a1c6c..49eab0bfa7 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -101,7 +101,7 @@ static int mount_one(const MountPoint *p) {
return r;
if (r > 0)
- return 0;
+ goto finish;
/* The access mode here doesn't really matter too much, since
* the mounted file system will take precedence anyway. */
@@ -122,6 +122,7 @@ static int mount_one(const MountPoint *p) {
return p->fatal ? -errno : 0;
}
+finish:
label_fix(p->where, false);
return 0;