diff options
author | Renato Botelho <renato@netgate.com> | 2018-11-09 08:56:22 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2018-11-09 08:57:03 -0200 |
commit | dfbf0d5f3417c78025cafabadb47c2dae43954f4 (patch) | |
tree | 5cd76241f5d9ebcf561fa3c4c2360920dedafee8 /src | |
parent | 98716a68a7c88eea08d3cd1f6d9c56de690f3bdc (diff) | |
download | pfsense-dfbf0d5f3417c78025cafabadb47c2dae43954f4.zip pfsense-dfbf0d5f3417c78025cafabadb47c2dae43954f4.tar.gz |
Fix #9102: Suppress stream_select() undesired warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/pkg-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/pkg-utils.inc b/src/etc/inc/pkg-utils.inc index 81bbac7..9202720 100644 --- a/src/etc/inc/pkg-utils.inc +++ b/src/etc/inc/pkg-utils.inc @@ -147,7 +147,7 @@ function pkg_call($params, $mute = false, $extra_env = array()) { $read = array($pipes[1], $pipes[2]); $except = array(); - $stream = stream_select($read, $write, $except, $timeout); + $stream = @stream_select($read, $write, $except, $timeout); if ($stream !== FALSE && $stream > 0) { foreach ($read as $pipe) { $content = stream_get_contents($pipe); |