summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2010-08-31 23:52:51 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-31 23:52:51 +0200
commit7b2603e646fbd456756dd91fbc05ef85edc74aaf (patch)
tree9dc0030feb7b92f8be9feaadc0b5a2c2e121d74a /src
parent60dc72b563cdd4166cc6cb4e3c790bdfe1570ad2 (diff)
service: properly pass dbus error structure
Diffstat (limited to 'src')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 071f015b13..85dd5d4175 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1841,7 +1841,7 @@ static void service_enter_restart(Service *s) {
service_enter_dead(s, true, false);
- if ((r = manager_add_job(s->meta.manager, JOB_START, UNIT(s), JOB_FAIL, false, NULL, NULL)) < 0)
+ if ((r = manager_add_job(s->meta.manager, JOB_START, UNIT(s), JOB_FAIL, false, &error, NULL)) < 0)
goto fail;
log_debug("%s scheduled restart job.", s->meta.id);