mirror of
https://github.com/systemd/systemd.git
synced 2026-08-07 16:41:02 +00:00
systemctl: make sure list-jobs doesn't return failure on success
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user