From 7b2603e646fbd456756dd91fbc05ef85edc74aaf Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Tue, 31 Aug 2010 23:52:51 +0200 Subject: service: properly pass dbus error structure --- src/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-54-g00ecf