view: output counters only when called in prefetch mode or when csync is enabled

This commit is contained in:
Andrew Dolgov 2008-06-03 09:14:07 +01:00
parent 028959411c
commit 3bfc7a2ff1
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@
} }
} }
if ($mode != "prefetch_old" || $csync) { if ($mode == "prefetch" || $csync) {
print "<counters>"; print "<counters>";
getAllCounters($link, $omode); getAllCounters($link, $omode);
print "</counters>"; print "</counters>";