summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-20 13:03:25 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-20 13:03:25 +0200
commit8d6d507cb29b9b099ce2b2ae211adc276a31cc90 (patch)
tree2987c0c5b8da79a13631e211fc0aedc432be4379
parent52893368408234f1148173387aa5b44722ff6392 (diff)
php-nette-finder: 2.3.1
-rwxr-xr-xcheckpkgist.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkpkgist.php b/checkpkgist.php
index 48c3d11..969cea0 100755
--- a/checkpkgist.php
+++ b/checkpkgist.php
@@ -129,7 +129,9 @@ function run($name, $rpm) {
else if (version_compare($pkver, $rpmver, 'eq') && $verb && !$display) {
printf(" %-40s %15s %15s %15s\n", $rpm, $rpmver, $pkver, $date->format("Y-m-d"));
$display = true;
- break;
+ if (!$verb) {
+ break;
+ }
}
}
if ($verb && !$display) {