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
This commit is contained in:
Adam Amstrong
2011-09-15 21:20:54 +00:00
parent 8dfd9dd7a1
commit edaa3d0afe

View File

@@ -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]'.