fix missing $self in call to read_ssh_file

This commit is contained in:
azenet 2017-03-15 13:17:33 +01:00
parent f9c6120477
commit 3e3ed2c1cc

View file

@ -37,7 +37,7 @@ sub new {
# load in ssh hostname for later use
if ( !%ssh_hostname_for || !$ssh_configs_read{ $self->{ssh_config} } ) {
read_ssh_file($self, $self->{ssh_config});
$self->read_ssh_file($self, $self->{ssh_config});
$self->debug( 5, 'Have the following ssh hostnames' );
$self->debug( 5, ' "', $_, '"' ) foreach ( sort keys %ssh_hostname_for );