diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-08 05:22:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-08 05:22:34 +0200 |
commit | c368608323ebdad5c516d65279249c4ba965d2ec (patch) | |
tree | 611596fd2c0a7b32d6adb3cbb68ba193cc8aae0e /src | |
parent | 4c90c122afc8589ed8260ae97ef64a44783463d3 (diff) |
mount: fix confirm spawn setting
Diffstat (limited to 'src')
-rw-r--r-- | src/mount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mount.c b/src/mount.c index e7fdcc84f3..498732eef1 100644 --- a/src/mount.c +++ b/src/mount.c @@ -60,10 +60,10 @@ static void mount_init(Unit *u) { assert(u->meta.load_state == UNIT_STUB); m->timeout_usec = DEFAULT_TIMEOUT_USEC; - exec_context_init(&m->exec_context); - m->directory_mode = 0755; + exec_context_init(&m->exec_context); + /* We need to make sure that /bin/mount is always called in * the same process group as us, so that the autofs kernel * side doesn't send us another mount request while we are @@ -534,8 +534,8 @@ static int mount_spawn(Mount *m, ExecCommand *c, pid_t *_pid) { m->meta.manager->environment, true, true, - m->meta.manager->confirm_spawn, true, + m->meta.manager->confirm_spawn, m->meta.cgroup_bondings, &pid)) < 0) goto fail; |