mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-22 09:22:24 +00:00
Fix bug where unresolvable host stopped program running (thanks to Sami Kerola)
This commit is contained in:
parent
6eaa511fd8
commit
fdf1f597d4
3 changed files with 6 additions and 4 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Add in list of clusters to 'Add Host' window
|
||||
- thanks for Stanislas Rouvelin for the idea
|
||||
* Fix bug where unresolvable host stopped program running
|
||||
- thanks to Sami Kerola
|
||||
|
||||
2009-06-02 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.26-1
|
||||
|
||||
|
|
|
@ -29,5 +29,6 @@ David F. Skoll
|
|||
Bogdan Pintea
|
||||
Gerfried Fuchs
|
||||
Stanislas Rouvelin
|
||||
Sami Kerola
|
||||
|
||||
$Id$
|
||||
|
|
|
@ -986,12 +986,11 @@ sub check_host($) {
|
|||
else {
|
||||
logmsg( 1,
|
||||
"Failed to check host (falling back to gethostbyname): $!" );
|
||||
return gethostbyname($host)->name();
|
||||
}
|
||||
}
|
||||
else {
|
||||
return gethostbyname($host)->name();
|
||||
}
|
||||
|
||||
my $gethost_obj = gethostbyname($host);
|
||||
return defined($gethost_obj) ? $gethost_obj->name() : $host;
|
||||
}
|
||||
|
||||
sub open_client_windows(@) {
|
||||
|
|
Loading…
Add table
Reference in a new issue