From cb0b3c8754b0e8b1dc96b240f5f40a084b0503c2 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 10 Aug 2015 11:31:27 +0200 Subject: [PATCH] monitoring: Let PHP flush the writer buffer to the command file refs #9570 --- .../library/Monitoring/Command/Transport/LocalCommandFile.php | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Command/Transport/LocalCommandFile.php b/modules/monitoring/library/Monitoring/Command/Transport/LocalCommandFile.php index 50b87aed5..00756da9d 100644 --- a/modules/monitoring/library/Monitoring/Command/Transport/LocalCommandFile.php +++ b/modules/monitoring/library/Monitoring/Command/Transport/LocalCommandFile.php @@ -122,7 +122,6 @@ class LocalCommandFile implements CommandTransportInterface try { $file = new File($this->path, $this->openMode); $file->fwrite($commandString . "\n"); - $file->fflush(); } catch (Exception $e) { $message = $e->getMessage(); if ($e instanceof RuntimeException && ($pos = strrpos($message, ':')) !== false) {