1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00

Return exitcode when "osc results" is falling through prjresults

Otherwise a failure from osc prjresults does not propagate
up.
This commit is contained in:
Dirk Mueller 2019-02-04 13:07:59 +01:00
parent 555efc845f
commit a760e2bd39

View File

@ -5203,8 +5203,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
opts.vertical = None
opts.show_non_building = None
opts.show_excluded = None
self.do_prjresults('prjresults', opts, *args)
return
return self.do_prjresults('prjresults', opts, *args)
if opts.xml and opts.csv:
raise oscerr.WrongOptions("--xml and --csv are mutual exclusive")