summaryrefslogtreecommitdiffstats
path: root/checkpkgist/checkpkgist.php
diff options
context:
space:
mode:
Diffstat (limited to 'checkpkgist/checkpkgist.php')
-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) {