From 1f8eb7b8dc901fc8782713ebde73c4fee84222b6 Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Mon, 22 Jul 2019 11:26:03 -0500 Subject: [PATCH] ubuntu-cpc: use sys.exit() rather than quit() --- live-build/ubuntu-cpc/hooks.d/remove-implicit-artifacts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live-build/ubuntu-cpc/hooks.d/remove-implicit-artifacts b/live-build/ubuntu-cpc/hooks.d/remove-implicit-artifacts index e1ea3728..074df632 100755 --- a/live-build/ubuntu-cpc/hooks.d/remove-implicit-artifacts +++ b/live-build/ubuntu-cpc/hooks.d/remove-implicit-artifacts @@ -8,6 +8,7 @@ script. If the file is empty, all output will be saved. """ import glob import os +import sys if __name__ == "__main__": print('Running {}'.format(__file__)) @@ -21,7 +22,7 @@ if __name__ == "__main__": if not explicit: print('{}: explicit_provides is empty. ' 'All binary output will be included'.format(scriptname)) - quit() + sys.exit(0) all = set(glob.glob('livecd.ubuntu-cpc.*')) implicit = all - explicit