mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
autoconf says yes instead of nothing then all tests are done successfully
This commit is contained in:
parent
3b10114dda
commit
6012496428
@ -189,6 +189,9 @@ if ($ARGV[0]) {
|
|||||||
or die "no (Needs LDAPv3)";
|
or die "no (Needs LDAPv3)";
|
||||||
$ldap->bind ($userdn, password => $userpw)
|
$ldap->bind ($userdn, password => $userpw)
|
||||||
or die ("no (Can't log in, check env file)");
|
or die ("no (Can't log in, check env file)");
|
||||||
|
# All tests done successfully
|
||||||
|
print "yes";
|
||||||
|
|
||||||
} elsif ($ARGV[0] eq "config") {
|
} elsif ($ARGV[0] eq "config") {
|
||||||
if ($0 =~ /slapd_([\w\d_]+)$/) {
|
if ($0 =~ /slapd_([\w\d_]+)$/) {
|
||||||
my $action = $1;
|
my $action = $1;
|
||||||
|
Loading…
Reference in New Issue
Block a user