Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 91b63fd3 authored by Gary Allan's avatar Gary Allan
Browse files

Feature: Update discovery scan message to avoid confusion

parent b249ac51
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ if($retval!==0) { $Result->show("danger", "Error executing scan! Error co
# error?
elseif($script_result->status===1) { $Result->show("danger", $script_result->error, false); }
# empty
elseif(!isset($script_result->values->alive)) { $Result->show("danger", _("No alive host found")."!", false); }
elseif(!isset($script_result->values->alive)) { $Result->show("info", _("0 new hosts discovered")."!", false); }
# ok
else {
// fetch subnet and set nsid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment