Index: trunk/tools/roboczar.pl
===================================================================
--- trunk/tools/roboczar.pl	(revision 28707)
+++ trunk/tools/roboczar.pl	(revision 28715)
@@ -86,7 +86,6 @@
     my $reverting = 0;
     my $server = undef;
-
-    my $rows = undef; # TODO just call label
-        my $row;
+    my $rows = undef;
+    my $row = undef;
 
     while (1) {
@@ -94,8 +93,7 @@
         updateServerStatus();
         updateLabels();
-        $rows = $czarDb->getCurrentLabels("stdscience");
+        if (!$czarDb->getCurrentLabels("stdscience", \$rows)) {next;}
 
         foreach $stage (@stages) {
-            $totalNew=$totalFaults=$totalFull=0;
 
             $server = $pantasks->getServerForThisStage($stage);
@@ -105,4 +103,5 @@
             print "* Checking labels for $stage stage\n";
 
+            $totalNew=$totalFaults=$totalFull=0;
             foreach $row ( @{$rows} ) {
                 my ($label) = @{$row};
