From 6c3defcc1e5e89cd2c031fdaa0975737529d7d5f Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 11 Sep 2023 07:10:35 +0200 Subject: T5241: Revert change to vyos.utils.process.cmd --- python/vyos/utils/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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, -- cgit v1.2.3