diff --git a/src/HotUpdate/HotUpdateProcess.php b/src/HotUpdate/HotUpdateProcess.php index eb6052e..294a8dc 100644 --- a/src/HotUpdate/HotUpdateProcess.php +++ b/src/HotUpdate/HotUpdateProcess.php @@ -312,7 +312,7 @@ private function closeBuildRuntime(): void $buildRuntimeHandler = $this->buildRuntimeHandler; $buildRuntimePipes = $this->buildRuntimePipes; $status = proc_get_status($buildRuntimeHandler); - if (false !== $status && ($status['running'] ?? false)) + if (false !== $status && $status['running']) { $writeContent = "n\n"; fwrite($buildRuntimePipes[0], $writeContent);