From c2a5957a942c8f6070b8f6ff12764e90c1a4c237 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 2 Dec 2022 09:44:25 +0100 Subject: 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. --- op-mode-definitions/generate-ipsec-debug-archive.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op-mode-definitions/generate-ipsec-debug-archive.xml.in') 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 @@ Generate IPSec debug-archive - ${vyos_op_scripts_dir}/generate_ipsec_debug_archive.py + sudo ${vyos_op_scripts_dir}/generate_ipsec_debug_archive.py -- cgit v1.2.3