Skip to content

Commit 83b636f

Browse files
authored
Merge pull request #64 from wp-cli/46-fix-id-comparison
Fix ID comparison
2 parents cc3e437 + 9aa44a3 commit 83b636f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ private static function terminate_proc( $master_pid ) {
431431
$parent = $matches[1];
432432
$child = $matches[2];
433433

434-
if ( $parent === $master_pid ) {
434+
if ( (int) $parent === (int) $master_pid ) {
435435
self::terminate_proc( $child );
436436
}
437437
}

0 commit comments

Comments
 (0)