summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-version b/scripts/vyatta-show-version
index 8181f6f..03eb83b 100755
--- a/scripts/vyatta-show-version
+++ b/scripts/vyatta-show-version
@@ -176,7 +176,7 @@ if (!(-e $debsfile)) {
print "\n";
$rHoH_base_debs = read_pkg_file(&echo_file($debsfile));
-$rHoH_now_debs = read_pkg_file(get_pkg_version(`dpkg -l`));
+$rHoH_now_debs = read_pkg_file(get_pkg_version(`dpkg -l 2> /dev/null`));
if ($#ARGV == 0) {
if ($options{$ARGV[0]}) {