Skip to content

Commit

Permalink
Merge pull request #64 from wp-cli/46-fix-id-comparison
Browse files Browse the repository at this point in the history
Fix ID comparison
  • Loading branch information
schlessera authored Apr 20, 2019
2 parents cc3e437 + 9aa44a3 commit 83b636f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private static function terminate_proc( $master_pid ) {
$parent = $matches[1];
$child = $matches[2];

if ( $parent === $master_pid ) {
if ( (int) $parent === (int) $master_pid ) {
self::terminate_proc( $child );
}
}
Expand Down

0 comments on commit 83b636f

Please sign in to comment.