Skip to content

Commit

Permalink
Merge pull request #4333 from HollyGurza/T6058
Browse files Browse the repository at this point in the history
T6058: Fix popen command wrapper handling
  • Loading branch information
dmbaturin authored Feb 7, 2025
2 parents edda97d + e47feb2 commit 5463cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/vyos/utils/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def popen(command, flag='', shell=None, input=None, timeout=None, env=None,
)

wrapper = get_wrapper(vrf, netns, auth)
command = f'{wrapper} {command}'
command = f'{wrapper} {command}' if wrapper else command

cmd_msg = f"cmd '{command}'"
debug.message(cmd_msg, flag)
Expand Down

0 comments on commit 5463cf3

Please sign in to comment.