diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-06 19:48:08 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-06 21:13:46 +0100 |
commit | f4336098941f94d23f2f6c79bc8d055a0907c392 (patch) | |
tree | bd245402caba23f680f24d85b23b45555643bfc5 /src | |
parent | 4ccbc1461566f97445241524be379b94855608fa (diff) |
systemctl: check the value from start_unit_one
introduced in f459b6025f9368116d8c410376546c157314c205
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 561572cb35..6b6cb3d1d8 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -2145,7 +2145,7 @@ static int start_unit(sd_bus *bus, char **args) { q = start_unit_one(bus, method, *name, mode, &error, s); if (q < 0) { - r = translate_bus_error_to_exit_status(r, &error); + r = translate_bus_error_to_exit_status(q, &error); sd_bus_error_free(&error); } } |