diff options
author | John Estabrook <jestabro@vyos.io> | 2021-12-02 18:13:29 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-12-03 06:17:24 -0600 |
commit | 28f40317f178a2825ebecc521da9d9d694415453 (patch) | |
tree | 67b8873bb6c923b278d6d35a155f5d56f022b63a /python | |
parent | a499776ec7dd39b50a6f78ecd4ae3daf87bbb006 (diff) | |
download | vyos-1x-28f40317f178a2825ebecc521da9d9d694415453.tar.gz vyos-1x-28f40317f178a2825ebecc521da9d9d694415453.zip |
configquery: T3402: use vyatta-op-cmd-wrapper to provide environment
(cherry picked from commit ae16a51506cdc4de8e18f4678b8f55654d4abbba)
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/configquery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configquery.py b/python/vyos/configquery.py index 9c3c5804c..f835bc9b2 100644 --- a/python/vyos/configquery.py +++ b/python/vyos/configquery.py @@ -106,7 +106,7 @@ class VbashOpRun(GenericOpRun): def run(self, path: list, **kwargs): cmd = ' '.join(path) - (out, err) = vyos.util.popen(f'. /opt/vyatta/share/vyatta-op/functions/interpreter/vyatta-op-run; _vyatta_op_run {cmd}', stderr=STDOUT, **kwargs) + (out, err) = vyos.util.popen(f'/opt/vyatta/bin/vyatta-op-cmd-wrapper {cmd}', stderr=STDOUT, **kwargs) if err: raise ConfigQueryError(out) return out |