diff options
author | marko <marko@FreeBSD.org> | 2000-08-07 22:47:46 +0000 |
---|---|---|
committer | marko <marko@FreeBSD.org> | 2000-08-07 22:47:46 +0000 |
commit | 9bf0e2be8d5e1801b85eb33dd39394497388586d (patch) | |
tree | 40684176be418c8e6a74055454eb480cdb065007 /usr.sbin/pkg_install | |
parent | abc93090fbdd28cbf925cae2c44378d7843a3f06 (diff) | |
download | FreeBSD-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-x | usr.sbin/pkg_install/version/pkg_version.pl | 1 |
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"; } |