summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-11 06:59:44 +0200
committerGitHub <noreply@github.com>2023-09-11 06:59:44 +0200
commit8140789fdbc7c60ddc4517a1066963ede413d594 (patch)
tree3e1e1fa1707df555d05caecc8db868d76729b19e /python/vyos
parent87880a552fd112157a59afafa34fcbd6891f30ae (diff)
parente46afa2c58eea2d81df84e2630a6f346f1f51c2a (diff)
downloadvyos-1x-8140789fdbc7c60ddc4517a1066963ede413d594.tar.gz
vyos-1x-8140789fdbc7c60ddc4517a1066963ede413d594.zip
Merge pull request #2238 from sarthurdev/current
vxlan: T3700: Revert change to `vyos.utils.process.cmd`
Diffstat (limited to 'python/vyos')
-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 9ecdddf09..c2ef98140 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,