mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-22 13:14:51 +02:00
remove useless var
This commit is contained in:
parent
7978bdada5
commit
81bdc25aee
@ -241,7 +241,6 @@ sub request {
|
||||
if (!$self->{output}->is_status(value => $status, compare => 'ok', litteral => 1)) {
|
||||
my $short_msg = $self->{response}->status_line;
|
||||
if ($short_msg =~ /^401/) {
|
||||
my $authenticate = '';
|
||||
$short_msg .= ' (' . $1 . ' authentication expected)' if (defined($self->{response}->www_authenticate) &&
|
||||
$self->{response}->www_authenticate =~ /(\S+)/);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user