mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
+ Fix netdom mode
This commit is contained in:
parent
ea267b9641
commit
34e9f41382
@ -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},
|
||||
|
Loading…
x
Reference in New Issue
Block a user