diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-05 19:37:16 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-09-05 19:37:16 +0200 |
commit | fad6519932586664c2c53e41b8deb276dd1dde65 (patch) | |
tree | da2eb57847f2a67f10189bbfc174dd693a3a3108 /python/vyos/utils/process.py | |
parent | 487c817ea320ddabcdaf41a8112937a29c19443e (diff) | |
parent | 5c2b49092ca1fc56cf198ca89630ec97fddd64b3 (diff) | |
download | vyos-1x-fad6519932586664c2c53e41b8deb276dd1dde65.tar.gz vyos-1x-fad6519932586664c2c53e41b8deb276dd1dde65.zip |
Merge branch 'netns' into current
* netns:
smoketest: T5241: re-work netns assertions and provide common utility helper
netns: T5241: simplify network namespace handling
netns: T5241: improve get_interface_namespace() robustness
netns: T5241: use common interface_exists() helper
netns: T5241: provide is_netns_interface utility helper
T5241: Support netns for veth and dummy interfaces
Diffstat (limited to 'python/vyos/utils/process.py')
-rw-r--r-- | python/vyos/utils/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/process.py b/python/vyos/utils/process.py index e09c7d86d..c2ef98140 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, flag, + command.lstrip(), flag, stdout=stdout, stderr=stderr, input=input, timeout=timeout, env=env, shell=shell, |