summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authormarko <marko@FreeBSD.org>2000-08-07 22:47:46 +0000
committermarko <marko@FreeBSD.org>2000-08-07 22:47:46 +0000
commit9bf0e2be8d5e1801b85eb33dd39394497388586d (patch)
tree40684176be418c8e6a74055454eb480cdb065007 /usr.sbin/pkg_install
parentabc93090fbdd28cbf925cae2c44378d7843a3f06 (diff)
downloadFreeBSD-src-9bf0e2be8d5e1801b85eb33dd39394497388586d.zip
FreeBSD-src-9bf0e2be8d5e1801b85eb33dd39394497388586d.tar.gz
Fix bug with -c option
PR: 18176 Reviewed by: Bruce A. Mah <bmah@acm.org>
Diffstat (limited to 'usr.sbin/pkg_install')
-rwxr-xr-xusr.sbin/pkg_install/version/pkg_version.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/version/pkg_version.pl b/usr.sbin/pkg_install/version/pkg_version.pl
index a361af5..f0a37b3 100755
--- a/usr.sbin/pkg_install/version/pkg_version.pl
+++ b/usr.sbin/pkg_install/version/pkg_version.pl
@@ -259,6 +259,7 @@ foreach $packageName (sort keys %currentPackages) {
}
}
else {
+ next if $ShowCommandsFlag;
$versionCode = "?";
$Comment = "unknown in index";
}
OpenPOWER on IntegriCloud