small fixes

This commit is contained in:
InsanePrawn 2021-09-30 05:05:30 +02:00
parent 81f22e67ae
commit 0e21f9060d
5 changed files with 9 additions and 8 deletions

View file

@ -173,7 +173,7 @@ def cmd_build():
)
create_chroot_user(chroot_name, user=profile['username'], password=profile['password'])
if post_cmds:
result = run_chroot_cmd(' && '.join(post_cmds, chroot_name))
result = run_chroot_cmd(' && '.join(post_cmds), chroot_name)
if result.returncode != 0:
raise Exception('Error running post_cmds')