Commit 7c99cdb0 authored by Luke Champine's avatar Luke Champine

accept succesful hostdb scans even if not online

parent acf73533
......@@ -92,8 +92,8 @@ func (hdb *HostDB) queueScan(entry modules.HostDBEntry) {
// with the host weight functions. Adjustment of the host weight functions need
// to keep this function in mind, and vice-versa.
func (hdb *HostDB) updateEntry(entry modules.HostDBEntry, netErr error) {
// If the host is not online, toss out this update.
if ! {
// If the scan failed because we don't have Internet access, toss out this update.
if netErr != nil && ! {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment