Skip to content

Commit e7e8e45

Browse files
committed
Fixed tests
1 parent 02b166c commit e7e8e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/snmp/tests/skipif.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ require_once (dirname(__FILE__).'/snmp_include.inc');
88
//snmpget ( string $hostname , string $community ,
99
//string $object_id [, int $timeout [, int $retries ]] )
1010

11-
if (snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
11+
if (@snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
1212
die('skip NO SNMPD on this host or community invalid');

0 commit comments

Comments
 (0)