-
Luis Araujo authored
This commit will return an exit code depending on the job status in a job queue generated either by the --wait submit option or the wait subcommand. It will collate all the jobs status results, will map each status to a specific error code, and it will return the worst error as an exit code. Error codes: EXIT_CODE_CANCELED_JOB = -1 EXIT_CODE_INCOMPLETE_JOB = -2 Successful (Complete) jobs will use the 0 (SUCCESS) exit code. Reviewed By: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Differential Revision: https://phabricator.collabora.co.uk/D1070 Signed-off-by: Luis Araujo <luis.araujo@collabora.co.uk>
fa97f8ed