Project

General

Profile

« Previous | Next » 

Revision e1a6074d

Added by Renato Botelho over 6 years ago

Fix #9102: Suppress stream_select() undesired warnings

View differences:

src/etc/inc/pkg-utils.inc
147 147
		$read = array($pipes[1], $pipes[2]);
148 148
		$except = array();
149 149

  
150
		$stream = stream_select($read, $write, $except, $timeout);
150
		$stream = @stream_select($read, $write, $except, $timeout);
151 151
		if ($stream !== FALSE && $stream > 0) {
152 152
			foreach ($read as $pipe) {
153 153
				$content = stream_get_contents($pipe);

Also available in: Unified diff