diff --git a/utils/setup.php b/utils/setup.php index 9e946035..e256289c 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -762,6 +762,7 @@ while(strlen($sScript)) { $written = fwrite($ahPipes[0], $sScript); + if ($written <= 0) break; $sScript = substr($sScript, $written); } fclose($ahPipes[0]);