From 96abfb0f9984cc0b4b4af3d75eea853862664642 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 15 Feb 2010 02:09:53 +0000 Subject: [PATCH] debug print go git-svn-id: http://www.observium.org/svn/observer/trunk@845 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/discovery/storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {