mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-02 17:56:15 +01:00
fix osc service exit code
Commands like "osc service disabledrun" would always return exitcode 0 even when the source service failed. This broke any scripts which wrapped around osc service.
This commit is contained in:
parent
e44a452d3e
commit
e1cdf86bdf
@ -6063,7 +6063,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
elif command == "disabledrun" or command == "dr":
|
elif command == "disabledrun" or command == "dr":
|
||||||
mode = "disabled"
|
mode = "disabled"
|
||||||
|
|
||||||
p.run_source_services(mode, singleservice)
|
return p.run_source_services(mode, singleservice)
|
||||||
|
|
||||||
@cmdln.option('-a', '--arch', metavar='ARCH',
|
@cmdln.option('-a', '--arch', metavar='ARCH',
|
||||||
help='trigger rebuilds for a specific architecture')
|
help='trigger rebuilds for a specific architecture')
|
||||||
|
Loading…
Reference in New Issue
Block a user