summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-11 10:59:11 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-11 10:59:11 +0100
commit9eb4a5012cbc23146078db7f5536ee3a68a249bb (patch)
tree6d30c3d46333fc3dedf9411d8858af067f2611d3 /src/systemctl/systemctl.c
parent2d0246bbd268c96d6e44197901b387415a0d3b34 (diff)
Revert "systemctl: return EXIT_SUCCESS on success"
This reverts commit 6a32563caa883bd11da1b255c38358e481c42ad7.
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 7cbf9af991..0c42766a60 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -7709,5 +7709,5 @@ finish:
release_busses();
- return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
+ return r < 0 ? EXIT_FAILURE : r;
}