diff options
-rwxr-xr-x | check.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -183,6 +183,9 @@ if ($ref) { printf(($cli ? "Check %d mirrors of %s (%s)\n" : "<h3>%s - %s</h3>\n"), count($mirrors), $name, date('r', $ref)); if (!$cli) echo "<ul class='pkglist'>\n"; foreach ($mirrors as $mirror) { + if ($_SERVER['argc']>1 && !strpos($mirror, $_SERVER['argv'][1])) { + continue; + } if ($cli) { $pid = pcntl_fork(); if ($pid<0) { |