summaryrefslogtreecommitdiff
path: root/src/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-08 16:06:23 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-08 16:07:50 +0200
commit169c1bda807d183a362b47efe0b5b56e9320e430 (patch)
tree9fb56b5009f9842de0364e2fa598598e58e7f0e5 /src/mount.c
parent926e43013353ed8bee614a3dc35dd0da69cdc59f (diff)
service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
Diffstat (limited to 'src/mount.c')
-rw-r--r--src/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c
index fefe76bb4d..3320bf1202 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -1057,7 +1057,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
m->failure = m->failure || !success;
if (m->control_command) {
- exec_status_exit(&m->control_command->exec_status, pid, code, status);
+ exec_status_exit(&m->control_command->exec_status, pid, code, status, m->exec_context.utmp_id);
m->control_command = NULL;
m->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;
}