summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-11 07:10:35 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-11 07:10:35 +0200
commit6c3defcc1e5e89cd2c031fdaa0975737529d7d5f (patch)
tree08e4e190b9bd4ae98e1afa6a079163499ecb5048 /python
parent8140789fdbc7c60ddc4517a1066963ede413d594 (diff)
downloadvyos-1x-6c3defcc1e5e89cd2c031fdaa0975737529d7d5f.tar.gz
vyos-1x-6c3defcc1e5e89cd2c031fdaa0975737529d7d5f.zip
T5241: Revert change to vyos.utils.process.cmd
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 c2ef98140..e09c7d86d 100644
--- a/python/vyos/utils/process.py
+++ b/python/vyos/utils/process.py
@@ -170,7 +170,7 @@ def rc_cmd(command, flag='', shell=None, input=None, timeout=None, env=None,
(1, 'Device "eth99" does not exist.')
"""
out, code = popen(
- command.lstrip(), flag,
+ command, flag,
stdout=stdout, stderr=stderr,
input=input, timeout=timeout,
env=env, shell=shell,