diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-11 14:35:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-11 14:35:44 +0100 |
commit | 91d0f17e03e3975cac95c418e101f5266b56e897 (patch) | |
tree | 0075e2354fce27e2d7c5963bcaa41758db9cfa86 /src/systemctl | |
parent | bd098bceddfe70dc995c0c4f7bac07475fc0fc41 (diff) |
systemctl: make sure list-jobs doesn't return failure on success
Diffstat (limited to 'src/systemctl')
-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 616ede814c..e9d73ea9d0 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -2186,7 +2186,7 @@ static int list_jobs(int argc, char *argv[], void *userdata) { return bus_log_parse_error(r); output_jobs_list(jobs, c, skipped); - return r; + return 0; } static int cancel_job(int argc, char *argv[], void *userdata) { |