[systemd-commits] src/systemctl
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Fri Dec 6 12:15:48 PST 2013
src/systemctl/systemctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f4336098941f94d23f2f6c79bc8d055a0907c392
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 6 19:48:08 2013 +0100
systemctl: check the value from start_unit_one
introduced in f459b6025f9368116d8c410376546c157314c205
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 561572c..6b6cb3d 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);
}
}
More information about the systemd-commits
mailing list