From edaa3d0afe9d993dcaf6ceefb82b0c43aece39b2 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 15 Sep 2011 21:20:54 +0000 Subject: [PATCH] don't check update if we're running -h new (don't kill the web server plx) git-svn-id: http://www.observium.org/svn/observer/trunk@2471 61d68cd4-352d-0410-923a-c4978735b2b8 --- discovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery.php b/discovery.php index 199783e5f4..8e2962cf43 100755 --- a/discovery.php +++ b/discovery.php @@ -164,7 +164,7 @@ if ($discovered_devices) $string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $discovered_devices devices discovered in $proctime secs"; if ($debug) echo("$string\n"); -if($config['version_check'] && !isset($options['q'])) { +if(!$options['h'] == "new" && $config['version_check'] && !isset($options['q'])) { include("includes/versioncheck.inc.php"); echo('MySQL: Cell['.($db_stats['fetchcell']+0).'/'.round($db_stats['fetchcell_sec']+0,2).'s]'.