Changeset 1371


Ignore:
Timestamp:
Dec 6, 2009, 11:11:44 PM (13 years ago)
Author:
ezyang
Message:
Fix some tab/space problems, add missing parameter to unlock_and_die.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/sbin/parallel-find.pl

    r1370 r1371  
    2828    system("mv", $dump, $dumpbackup) && unlock_and_die "Unable to back up current directory $dump";
    2929}
    30 system("mkdir", $dump) && unlock_and_die;
     30system("mkdir", $dump) && unlock_and_die "mkdir failed to create $dump";
    3131
    3232use Proc::Queue size => 40, debug => 0, trace => 0;
     
    9090            exit(0);
    9191        }
    92         print "$user\n";
     92        print "$user\n";
    9393        $ret = find($user, $homedir);
    94         sleep rand 1;
    95         exit($ret);
     94        sleep rand 1;
     95        exit($ret);
    9696    }
    9797    1 while waitpid(-1, WNOHANG)>0; # avoids memory leaks in Proc::Queue
Note: See TracChangeset for help on using the changeset viewer.