From fa2b787b92639d1c9ca439882050e80e9bad13bb Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Mon, 21 Oct 2013 21:16:41 +0100 Subject: [PATCH] Ensure correct exit code from buildserver build --- fdroidserver/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 46237a06..c257f245 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -705,6 +705,10 @@ def parse_commandline(): help="Update the wiki") 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... if options.install: if options.server: