summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-10 07:16:39 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-10 07:16:39 +0000
commitc3d170b17e39e94e6f53e4afd8d0468d35e9d8fc (patch)
tree44d7bc30e3a56e501609773193eb72552c368e5e /op-mode-definitions
parent32eb4b342e962f3f2c3f46671a9415f04b0db40b (diff)
downloadvyos-1x-c3d170b17e39e94e6f53e4afd8d0468d35e9d8fc.tar.gz
vyos-1x-c3d170b17e39e94e6f53e4afd8d0468d35e9d8fc.zip
op-mode: T2856: Fix broken pipe in show version all
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-version.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-version.xml b/op-mode-definitions/show-version.xml
index aae5bb008..905a4865c 100644
--- a/op-mode-definitions/show-version.xml
+++ b/op-mode-definitions/show-version.xml
@@ -18,7 +18,7 @@
<properties>
<help>Show system version and versions of all packages</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_version.py --all</command>
+ <command>echo "Package versions:"; dpkg -l | awk '$0~/>/{exit}1'</command>
</leafNode>
<leafNode name="quagga">
<properties>