diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-28 03:38:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-28 03:38:52 +0200 |
commit | f14e15f8affe906a45d8afc76c302a49cd1f70ee (patch) | |
tree | 5af3ffd29e33fddde628d8a79ea7400a9025aaf6 /src/mount.c | |
parent | 799fd0fd23028a58e1f605c6b0d9aaab65b4fb1f (diff) |
unit: replace recursive_stop by stop_retroactively to simplify things a little
Diffstat (limited to 'src/mount.c')
-rw-r--r-- | src/mount.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mount.c b/src/mount.c index d62ce8f408..0b67fbed5d 100644 --- a/src/mount.c +++ b/src/mount.c @@ -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; |