Commit d7dd5685 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3274 Fixed die_on_ldap_errors method

parent 75d7feb2
......@@ -111,7 +111,7 @@ sub ask_user_input {
# Die on all LDAP error except for «No such object»
sub die_on_ldap_errors
{
my $mesg = (@_);
my ($mesg) = @_;
if (($mesg->code != 0) && ($mesg->code != 32)) {
die $mesg->error;
}
......
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