diff --git a/apps/activedirectory/local/mode/netdom.pm b/apps/activedirectory/local/mode/netdom.pm index 636b2554c..6ae59e927 100644 --- a/apps/activedirectory/local/mode/netdom.pm +++ b/apps/activedirectory/local/mode/netdom.pm @@ -54,9 +54,9 @@ sub netdom { my $netdom_cmd = 'netdom verify '; $netdom_cmd .= ' /Domain:' . $self->{option_results}->{domain} if (defined($self->{option_results}->{domain}) && $self->{option_results}->{domain} ne ''); if (defined($self->{option_results}->{workstation})) { - $netdom_cmd .= ' ' . . $self->{option_results}->{workstation}; + $netdom_cmd .= ' ' . $self->{option_results}->{workstation}; } else { - $netdom_cmd .= ' ' . . Win32::NodeName(); + $netdom_cmd .= ' ' . Win32::NodeName(); } my ($stdout, $exit_code) = centreon::plugins::misc::windows_execute(output => $self->{output},