chiark / gitweb /
Ensure correct exit code from buildserver build
authorCiaran Gultnieks <ciaran@ciarang.com>
Mon, 21 Oct 2013 20:16:41 +0000 (21:16 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Mon, 21 Oct 2013 20:16:41 +0000 (21:16 +0100)
fdroidserver/build.py

index 46237a06bd5cdec597db64075ba91c3a437c4675..c257f24579808bdeb9c88dfd9e8b390cb1a8f11d 100644 (file)
@@ -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: