mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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]'.
|
||||
|
Reference in New Issue
Block a user