mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 09:56:13 +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:
parent
555efc845f
commit
a760e2bd39
@ -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")
|
||||
@ -6335,7 +6334,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
if opts.preload:
|
||||
opts.nopreinstallimage = True
|
||||
|
||||
|
||||
print('Building %s for %s/%s' % (args[2], args[0], args[1]))
|
||||
if not opts.host:
|
||||
return osc.build.main(self.get_api_url(), opts, args)
|
||||
|
Loading…
Reference in New Issue
Block a user