debian-forge/osbuild
Lars Karlitski a5d4a8a926 osbuild: always return exit code
osbuild_cli() sometimes returned an exit code, but at the end called
sys.exit() directly. The idea was probably to always return the code
with which the executable should exit.

Make this consistent and call sys.exit() in __main__.py, with the value
returned by osbuild_cli().
2020-10-27 22:04:09 +01:00
..
util util/osrelease: add default os-release paths 2020-10-21 11:13:28 +02:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
api.py api: transfer metadata context via fd 2020-10-22 22:47:22 +01:00
buildroot.py buildroot: return a new CompletedBuild with output 2020-08-31 15:06:36 +02:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
meta.py meta: also validate the schema for sources 2020-06-02 09:50:14 +02:00
monitor.py monitor: add assembler/stage duration 2020-08-06 16:19:47 +02:00
objectstore.py objectstore: get returns object not path 2020-08-26 15:10:12 +02:00
pipeline.py pipeline: use osrelease.DEFAULT_PATHS 2020-10-21 11:13:28 +02:00
remoteloop.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
sources.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00