summaryrefslogtreecommitdiff
path: root/op-mode-definitions/generate-ipsec-debug-archive.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-02 09:44:25 +0100
committerChristian Poessinger <christian@poessinger.com>2022-12-02 09:44:33 +0100
commitc2a5957a942c8f6070b8f6ff12764e90c1a4c237 (patch)
tree7397b95351d2bbe329db77160cad855f63c79dc6 /op-mode-definitions/generate-ipsec-debug-archive.xml.in
parentaec5295551efdaf6ba82b127d2fd6a6f1fcbf365 (diff)
downloadvyos-1x-c2a5957a942c8f6070b8f6ff12764e90c1a4c237.tar.gz
vyos-1x-c2a5957a942c8f6070b8f6ff12764e90c1a4c237.zip
op-mode: T4767: drop sudo calls
It's easier and more obvious if the script is called with sudo itself and not spawning a sudo sessionf or each individual command.
Diffstat (limited to 'op-mode-definitions/generate-ipsec-debug-archive.xml.in')
-rw-r--r--op-mode-definitions/generate-ipsec-debug-archive.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/generate-ipsec-debug-archive.xml.in b/op-mode-definitions/generate-ipsec-debug-archive.xml.in
index dcbed0c42..a9ce113d1 100644
--- a/op-mode-definitions/generate-ipsec-debug-archive.xml.in
+++ b/op-mode-definitions/generate-ipsec-debug-archive.xml.in
@@ -8,7 +8,7 @@
<properties>
<help>Generate IPSec debug-archive</help>
</properties>
- <command>${vyos_op_scripts_dir}/generate_ipsec_debug_archive.py</command>
+ <command>sudo ${vyos_op_scripts_dir}/generate_ipsec_debug_archive.py</command>
</node>
</children>
</node>