Skip to content

Commit

Permalink
fixup! refactor(subp): Remove redundant parameter 'env' (#4555)
Browse files Browse the repository at this point in the history
  • Loading branch information
holmanb committed Dec 1, 2023
1 parent 9d5fe5d commit 1fdb3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudinit/config/cc_snap.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def run_commands(commands):
for command in fixed_snap_commands:
shell = isinstance(command, str)
try:
subp.subp([command], shell=shell)
subp.subp(command, shell=shell)
except subp.ProcessExecutionError as e:
cmd_failures.append(str(e))
if cmd_failures:
Expand Down

0 comments on commit 1fdb3d8

Please sign in to comment.