fix badspotters and local ann/full.
[spider.git] / perl / cluster.pl
index 0ad54f310b4bb7346e22e7194d920947c272fbd0..6ed4c556c3a0588176238b7cf80dea6726c7fde7 100755 (executable)
@@ -510,9 +510,8 @@ for (;;) {
        
        # do timed stuff, ongoing processing happens one a second
        if ($timenow != $systime) {
-               reap if $zombies;
-               $systime = $timenow;
-               IsoTime::update($systime);
+               reap() if $zombies;
+               IsoTime::update($systime = $timenow);
                DXCron::process();      # do cron jobs
                DXCommandmode::process(); # process ongoing command mode stuff
                DXXml::process();