diff options
author | Michal Sekletar <msekleta@redhat.com> | 2013-11-06 11:18:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-08 00:20:09 +0100 |
commit | c6581cc14f2d36b49c72542220a7ed9d33bb8944 (patch) | |
tree | f49e2f5f66da32b8348a79947155ff1fbe6ca2d8 /src/systemctl/systemctl.c | |
parent | 0a2c2294265d1d4552af3e7a92df0d4560deb818 (diff) |
systemctl: return r instead of always returning 0
Diffstat (limited to 'src/systemctl/systemctl.c')
-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 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) { |