summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-23 13:36:43 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-23 13:36:43 +0000
commit893dad656fdd822bf770c269294dc51dfe5e6d33 (patch)
treee15643f78f88671620f3a899fee068c68ee96510 /op-mode-definitions
parent94355927bfa21cda01e7db54060cf0292bbacd43 (diff)
downloadvyos-1x-893dad656fdd822bf770c269294dc51dfe5e6d33.tar.gz
vyos-1x-893dad656fdd822bf770c269294dc51dfe5e6d33.zip
op-mode: T2856: Fix broken pipe in show version all
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/version.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/version.xml b/op-mode-definitions/version.xml
index 57931fdff..caf0dd6ea 100644
--- a/op-mode-definitions/version.xml
+++ b/op-mode-definitions/version.xml
@@ -18,7 +18,7 @@
<properties>
<help>Show system version and versions of all packages</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/version.py --all</command>
+ <command>echo "Package versions:"; dpkg -l | awk '$0~/>/{exit}1'</command>
</leafNode>
</children>
</node>