chiark / gitweb /
timer: when deserializing timer state stay elapsed when we are elapsed
[elogind.git] / src / mount.c
index d62ce8f40893de885c2ce8b54344cdcfe2e77269..0b67fbed5d5d035a4c95cb7ad9d2951ef28ebae1 100644 (file)
@@ -70,6 +70,9 @@ static void mount_init(Unit *u) {
          * already trying to comply its last one. */
         m->exec_context.same_pgrp = true;
 
+        /* Make sure we unmount when the devices we require go away */
+        m->meta.stop_retroactively = true;
+
         m->timer_watch.type = WATCH_INVALID;
 
         m->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;