On Mon, Nov 20, 2017 at 14:42:01 -0500, Jean-Louis Martineau wrote:
> +         if (open(my $pidh,  $pidfn)) {
> +             my $pid = <$pidh>;
> +             if (kill($pid, 0) == 0) {
> +                 # pid is alive, skip this directory
> +                 next;
> +             }

looks like the order of arguments for the kill() function is reversed in
Perl, so the above code fails.  I will send a patch with a fix shortly.

                                                        Nathan


----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to