From 50fa575649fd9e8cd51222308e6da016c88dad48 Mon Sep 17 00:00:00 2001 From: laf Date: Thu, 30 Jun 2016 21:42:45 +0100 Subject: [PATCH] Added $os check + copyright --- includes/discovery/os/ibm-amm.inc.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/includes/discovery/os/ibm-amm.inc.php b/includes/discovery/os/ibm-amm.inc.php index 4611d3d9a9..6909fe59c4 100644 --- a/includes/discovery/os/ibm-amm.inc.php +++ b/includes/discovery/os/ibm-amm.inc.php @@ -1,5 +1,17 @@ + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ -if (stristr($sysDescr, 'BladeCenter Advanced Management Module')) { - $os = 'ibm-amm'; +if (!$os) { + if (stristr($sysDescr, 'BladeCenter Advanced Management Module')) { + $os = 'ibm-amm'; + } }