summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-raid.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-17 11:01:24 +0100
committerGitHub <noreply@github.com>2022-12-17 11:01:24 +0100
commitb56917451dbb57a148bf5b997fb507632c6829fd (patch)
treeb508dc8174d3a848c2d0554eac8b6270b6f2c139 /op-mode-definitions/show-raid.xml.in
parent3ef1de3846e7ce2648935d65013dbb280d492531 (diff)
parent672b6cc486f140e5598abd41be9d5daebc422b40 (diff)
downloadvyos-1x-b56917451dbb57a148bf5b997fb507632c6829fd.tar.gz
vyos-1x-b56917451dbb57a148bf5b997fb507632c6829fd.zip
Merge pull request #1714 from c-po/current
op-mode: T707: explicitly use sudo when working with RAID devices
Diffstat (limited to 'op-mode-definitions/show-raid.xml.in')
-rw-r--r--op-mode-definitions/show-raid.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-raid.xml.in b/op-mode-definitions/show-raid.xml.in
index 8bf394552..2ae3fad6a 100644
--- a/op-mode-definitions/show-raid.xml.in
+++ b/op-mode-definitions/show-raid.xml.in
@@ -9,7 +9,7 @@
<script>${vyos_completion_dir}/list_raidset.sh</script>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/show_raid.sh $3</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_raid.sh $3</command>
</tagNode>
</children>
</node>