Skip to content
Snippets Groups Projects
Commit b25cf8a3 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Bold red if we did not find a result

parent da8e8ae0
No related branches found
No related tags found
No related merge requests found
...@@ -258,7 +258,7 @@ my @ldapResults = $mesg->entries(); ...@@ -258,7 +258,7 @@ my @ldapResults = $mesg->entries();
my $ldapNumResults = @ldapResults; my $ldapNumResults = @ldapResults;
my $ldapEntry; my $ldapEntry;
if ($ldapNumResults < 1) { if ($ldapNumResults < 1) {
logger('NOTICE',color('bold blue')."No LDAP results, using defaults".color('reset')); logger('NOTICE',color('bold red')."No LDAP results, using the hostname provided on the commandline".color('reset'));
} elsif ($ldapNumResults == 1) { } elsif ($ldapNumResults == 1) {
$ldapEntry = $ldapResults[0]; $ldapEntry = $ldapResults[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment