mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Typo fix.
git-svn-id: http://www.observium.org/svn/observer/trunk@963 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -35,7 +35,7 @@ while($drive = mysql_fetch_array($query)) {
|
||||
$drive["storage_descr"] = preg_replace("/.*mounted on: (.*)/", "\\1", $drive["storage_descr"]);
|
||||
}
|
||||
|
||||
if ($device['os'] == "freebsd") {
|
||||
if ($drive['os'] == "freebsd") {
|
||||
foreach ($config['ignore_bsd_os_drives'] as $jdrive) {
|
||||
if (preg_match($jdrive, $drive["storage_descr"])) {
|
||||
$skipdrive = 1;
|
||||
|
||||
Reference in New Issue
Block a user