mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-15 18:54:09 +00:00
Changing exit code on yaml path not found in parsing script
This commit is contained in:
parent
40c4519a20
commit
cb0f121d9f
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user