From 34978945ea9415e32170b116f844ad2bc5b481d3 Mon Sep 17 00:00:00 2001 From: crcro Date: Sat, 24 Sep 2016 17:03:36 +0300 Subject: [PATCH] fix macosx disco --- includes/discovery/os/macosx.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/os/macosx.inc.php b/includes/discovery/os/macosx.inc.php index 15eb35edb3..8cb19b5ceb 100644 --- a/includes/discovery/os/macosx.inc.php +++ b/includes/discovery/os/macosx.inc.php @@ -10,6 +10,6 @@ * the source code distribution for details. */ -if (starts_with($sysObjectId, '.1.3.6.1.4.1.8072.3.2.16') && str_contains($sysObjectId, array('Darwin Kernel Version 15', 'Darwin Kernel Version 16'))) { +if (starts_with($sysObjectId, '.1.3.6.1.4.1.8072.3.2.16') || str_contains($sysDescr, array('Darwin Kernel Version 15', 'Darwin Kernel Version 16'))) { $os = 'macosx'; }