summaryrefslogtreecommitdiff
path: root/src/grp-system/libcore/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-system/libcore/mount.c')
-rw-r--r--src/grp-system/libcore/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grp-system/libcore/mount.c b/src/grp-system/libcore/mount.c
index d4af6c65f6..bc5f29692d 100644
--- a/src/grp-system/libcore/mount.c
+++ b/src/grp-system/libcore/mount.c
@@ -1707,6 +1707,7 @@ static int mount_dispatch_io(sd_event_source *source, int fd, uint32_t revents,
/* This has just been unmounted by
* somebody else, follow the state
* change. */
+ mount->result = MOUNT_SUCCESS; /* make sure we forget any earlier umount failures */
mount_enter_dead(mount, MOUNT_SUCCESS);
break;