The regex looking at ps output when killing children didn't match the children
authorMitchell Perilstein <mitchell.perilstein@gmail.com>
Wed, 27 Mar 2013 17:51:43 +0000 (13:51 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Tue, 16 Apr 2013 19:56:05 +0000 (15:56 -0400)
Bucardo.pm

index 0bcbedeb50fef30db8d9b74f293a5341f53a48b1..0a83c8e57b0cfe40d11fea43e4e4f797ecf3378a 100644 (file)
@@ -7202,7 +7202,7 @@ sub kill_bucardo_pid {
         if ($info !~ /^COMMAND/) {
             $self->glog(qq{Could not determine ps information for pid $pid}, LOG_VERBOSE);
         }
-        elsif ($info !~ /\bBucardo\s+/o) {
+        elsif ($info !~ /\bbucardo\s+/o) {
             $self->glog(qq{Will not kill process $pid: ps args is not 'Bucardo', got: $info}, LOG_TERSE);
             return 0;
         }