From 34e9f4138280aa91482ab4ebb652c5b1ebaab845 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 4 Apr 2017 10:09:35 +0200 Subject: [PATCH] + Fix netdom mode --- centreon-plugins/apps/activedirectory/local/mode/netdom.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-plugins/apps/activedirectory/local/mode/netdom.pm b/centreon-plugins/apps/activedirectory/local/mode/netdom.pm index 636b2554c..6ae59e927 100644 --- a/centreon-plugins/apps/activedirectory/local/mode/netdom.pm +++ b/centreon-plugins/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},