fix: finalise return code check
This commit is contained in:
parent
3c07cd05b9
commit
6e2670db89
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def gen_rootfs(system_config: dict, rootfs_path: str) -> RootFS:
|
|||
input=system_config["distro-config"]["finalise"],
|
||||
cwd=str(rootfs_path),
|
||||
env=os.environ.copy() | system_config["env"],
|
||||
)
|
||||
).returncode
|
||||
!= 0
|
||||
):
|
||||
output.error("failed to finalise rootfs")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue