Ensure correct exit code from buildserver build

This commit is contained in:
Ciaran Gultnieks 2013-10-21 21:16:41 +01:00
parent b4293fb9d6
commit fa2b787b92

View file

@ -705,6 +705,10 @@ def parse_commandline():
help="Update the wiki") help="Update the wiki")
options, args = parser.parse_args() options, args = parser.parse_args()
# Force --stop with --on-server to get cotrect exit code
if options.onserver:
options.stop = True
# The --install option implies --test and --force... # The --install option implies --test and --force...
if options.install: if options.install:
if options.server: if options.server: