summaryrefslogtreecommitdiffstats
path: root/checkpkgist
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
commita35f92b76dbe56c63a2e70aa510531c7aa3b1a53 (patch)
treec167347ee487c1dc135d64ace25976e968bba705 /checkpkgist
parent54ecbb59e3aa0dfff74e4a63a92eaee4a3810722 (diff)
php-nette-finder: 2.3.1
Diffstat (limited to 'checkpkgist')
-rwxr-xr-xcheckpkgist/checkpkgist.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php
index 48c3d11..969cea0 100755
--- a/checkpkgist/checkpkgist.php
+++ b/checkpkgist/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) {