diff --git a/includes/discovery/storage.php b/includes/discovery/storage.php index 15d2f8b86..fe743845c 100755 --- a/includes/discovery/storage.php +++ b/includes/discovery/storage.php @@ -23,7 +23,7 @@ if (isset($config['ignore_mount_network']) && $config['ignore_mount_network'] && $fstype == "hrStorageNetworkDisk") { $allow = 0; if ($debug) echo("network, skipping\n"); } $descr = str_replace("mounted on: ", "", $descr); $descr = preg_replace("/: [A-Za-z0-9_]+ file system, /", ", ", $descr); - echo("$fstype"); + if ($debug) { echo("$fstype"); } if($size > '0' && $allow) { if(mysql_result(mysql_query("SELECT count(storage_id) FROM `storage` WHERE hrStorageIndex = '$hrStorageIndex' AND host_id = '".$device['device_id']."'"),0) == '0') {