summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-10 23:04:30 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-11 07:11:35 +0200
commitd08c6128620ef429779109e580979b8da868e5aa (patch)
tree2de4a38ab9882ca0f7d31264f69f21f5fb69ef06 /python
parent77b2c4fc2d92537e9d9e37bd28ff2c631886ba21 (diff)
downloadvyos-1x-d08c6128620ef429779109e580979b8da868e5aa.tar.gz
vyos-1x-d08c6128620ef429779109e580979b8da868e5aa.zip
vxlan: T3700: Revert change to `vyos.utils.process.cmd`
(cherry picked from commit e46afa2c58eea2d81df84e2630a6f346f1f51c2a)
Diffstat (limited to 'python')
-rw-r--r--python/vyos/utils/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/process.py b/python/vyos/utils/process.py
index 1c861815e..e09c7d86d 100644
--- a/python/vyos/utils/process.py
+++ b/python/vyos/utils/process.py
@@ -139,7 +139,7 @@ def cmd(command, flag='', shell=None, input=None, timeout=None, env=None,
expect: a list of error codes to consider as normal
"""
decoded, code = popen(
- command.lstrip(), flag,
+ command, flag,
stdout=stdout, stderr=stderr,
input=input, timeout=timeout,
env=env, shell=shell,