mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 09:53:23 +00:00
Run through perltidy
This commit is contained in:
parent
b39e649ab3
commit
ac1b4697cf
1 changed files with 4 additions and 3 deletions
|
@ -433,6 +433,7 @@ sub check_ssh_hostnames {
|
|||
if ( -r $ssh_config && open( SSHCFG, "<", $ssh_config ) ) {
|
||||
while (<SSHCFG>) {
|
||||
next unless (m/^\s*host\s+([\w\.-]+)/i);
|
||||
|
||||
# account for multiple declarations of hosts
|
||||
$ssh_hostnames{$_} = 1 foreach ( split( /\s+/, $1 ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue