Commit 8577b4b9 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(configd) suppress stream_socket_client warnings

(cherry picked from commit 1e9aa0ab)
parent f01b1953
...@@ -90,9 +90,9 @@ class Backend ...@@ -90,9 +90,9 @@ class Backend
} }
$resp = ""; $resp = "";
$stream = stream_socket_client('unix://'.$this->configdSocket, $errorNumber, $errorMessage, $poll_timeout); $stream = @stream_socket_client('unix://'.$this->configdSocket, $errorNumber, $errorMessage, $poll_timeout);
if ($stream === false) { if ($stream === false) {
$this->getLogger()->error("Failed to connect to configd socket: $errorMessage"); $this->getLogger()->error("Failed to connect to configd socket: $errorMessage while executing " . $event);
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment