Update ibmnos.inc.php

Use or instead of elseif
This commit is contained in:
Søren Rosiak
2015-02-14 17:20:01 +01:00
parent 92422461f2
commit 47a07d44ec

View File

@@ -9,17 +9,9 @@
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (!$os)
{
if (stristr($sysDescr, "IBM Networking Operating System"))
{
$os = "ibmnos";
}
elseif (stristr($sysDescr, "IBM Flex System Fabric"))
{
$os = "ibmnos";
}
}
if (!$os) {
if (stristr($sysDescr, "IBM Networking Operating System") || stristr($sysDescr, "IBM Flex System Fabric")) {
$os = "ibmnos";
}
}
?>