add debug for nsclient request query

This commit is contained in:
qgarnier 2017-12-14 08:54:16 +01:00
parent ad2e0ca332
commit 4ea5b2a7e5
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ sub run {
}
my ($content) = $self->{http}->request(url_path => '/query/' . $self->{option_results}->{command} . '?' . $encoded_args);
$self->{output}->output_add(long_msg => "nsclient return = " . $content, debug => 1);
$self->check_nscp_result(content => $content);
$self->{output}->exit();