Do not require chroot to be in PATH of non-root user.

This commit is contained in:
Andrius Štikonas 2021-04-21 23:54:14 +01:00
parent 31caabdeef
commit 8406399f47
2 changed files with 8 additions and 2 deletions

View file

@ -20,7 +20,7 @@ def run(*args, **kwargs):
print(arguments)
try:
subprocess.run(arguments, check=True, **kwargs)
return subprocess.run(arguments, check=True, **kwargs)
except subprocess.CalledProcessError:
print("Bootstrapping failed")
sys.exit(1)