summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2013-11-06 11:18:02 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-08 00:20:09 +0100
commitc6581cc14f2d36b49c72542220a7ed9d33bb8944 (patch)
treef49e2f5f66da32b8348a79947155ff1fbe6ca2d8 /src/systemctl
parent0a2c2294265d1d4552af3e7a92df0d4560deb818 (diff)
systemctl: return r instead of always returning 0
Diffstat (limited to 'src/systemctl')
-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 ad9d12548e..631cd3df53 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -1365,7 +1365,7 @@ static int list_jobs(DBusConnection *bus, char **args) {
}
free(jobs);
- return 0;
+ return r;
}
static int cancel_job(DBusConnection *bus, char **args) {