Skip to content

Commit

Permalink
fix the external program invocation (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsander-souza authored Oct 18, 2023
1 parent 44a392a commit b4df245
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions vmware-esxi/curtin/curtin-hooks
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ from curtin.util import load_command_environment


def exec_prog(*cmdline: str) -> None:
with open(os.devnull, "w") as devnull:
subprocess.check_call(
*cmdline,
stdout=devnull,
stderr=subprocess.STDOUT,
)
subprocess.check_call(
cmdline,
stdout=subprocess.DEVNULL,
stderr=subprocess.STDOUT,
)


def write_config(target, config):
Expand Down

0 comments on commit b4df245

Please sign in to comment.