Merge pull request #86 from CanonicalLtd/error_on_no_curtin
Ensure install progress fails with missing curtin
This commit is contained in:
commit
453ddf473b
|
@ -139,6 +139,9 @@ def curtin_find_curtin():
|
|||
if os.path.exists(curtin):
|
||||
log.debug('curtin found at: {}'.format(curtin))
|
||||
return curtin
|
||||
# This ensures we fail when we attempt to run curtin
|
||||
# but it's not present
|
||||
return '/bin/false'
|
||||
|
||||
|
||||
def curtin_find_install_path():
|
||||
|
|
Loading…
Reference in New Issue