diff --git a/app/StreamedOutput.php b/app/StreamedOutput.php index ddfafb7319..e589f0b3cc 100644 --- a/app/StreamedOutput.php +++ b/app/StreamedOutput.php @@ -38,7 +38,9 @@ class StreamedOutput extends StreamOutput echo $message . PHP_EOL; - ob_flush(); + if (ob_get_level() > 0) { + ob_flush(); + } flush(); } }