From cb0f121d9f315ebe06a8d33d70c5467df87294d9 Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Tue, 16 Oct 2018 08:36:22 -0700 Subject: [PATCH] Changing exit code on yaml path not found in parsing script --- live-build/snap_seed_parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/snap_seed_parse.py b/live-build/snap_seed_parse.py index 2227aac1..d062b357 100755 --- a/live-build/snap_seed_parse.py +++ b/live-build/snap_seed_parse.py @@ -27,7 +27,7 @@ LINE_PREFIX = 'snap:' sys.stderr.write("yaml path: {}\n".format(YAML_PATH)) if not os.path.isfile(YAML_PATH): sys.stderr.write("yaml path not found.\n") - exit(0) + exit(1) else: sys.stderr.write("yaml path found.\n")