From 4f7aa4cc04ffa370a0fb068c4c38e9be84a0066f Mon Sep 17 00:00:00 2001 From: hjp Date: Sat, 11 Sep 2010 09:59:24 +0000 Subject: [PATCH] it's not (generally) "my" pid --- lib/Simba/CA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Simba/CA.pm b/lib/Simba/CA.pm index c8d6864..692b6bf 100644 --- a/lib/Simba/CA.pm +++ b/lib/Simba/CA.pm @@ -221,7 +221,7 @@ sub reserve_fileset { my $rows = $self->{dbh}->do(q{update filesets set pid=? where id = ? and pid is null}, {}, $$, $target->{id}); return if $rows == 1; my $pid = $self->{dbh}->selectrow_array(q{select pid from filesets where id = ?}, {}, $target->{id}); - $self->log(3, "fileset $target->{id} appears to be in use by my pid $pid"); + $self->log(3, "fileset $target->{id} appears to be in use by pid $pid"); if (!kill(0, $pid) && $!{ESRCH}) { $self->log(3, "pid $pid doesn't exist, trying to release fileset $target->{id}"); $self->{dbh}->do(q{update filesets set pid=null where id = ? and pid=?}, {}, $target->{id}, $pid);