Skip to content

Commit

Permalink
Error messages are always returned has hashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Wassberg committed Jul 24, 2019
1 parent aafea5c commit 08a323e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Nagios/NRPE/Client.pm
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ sub run
}

$socket = $self->create_socket();
if (ref $socket eq "REF")
if (ref $socket eq "HASH")
{
return ($socket);
}
Expand Down

0 comments on commit 08a323e

Please sign in to comment.