mirror of
https://github.com/duncs/clusterssh.git
synced 2025-06-30 00:34:04 +00:00
Correct bug with unset default ports (Tony Mancill)
This commit is contained in:
parent
16c466afc2
commit
3cd06e34d6
2 changed files with 7 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
* Allow user to set a different ConnectTimeout and -o string (Tony Mancill)
|
||||
* Fix warning from 'mandb' (Tony Mancill)
|
||||
* Continue connecting to unresolvable hosts (debian bug 499935) (Tony Mancill)
|
||||
* Correct bug with unset default ports (Tony Mancill)
|
||||
|
||||
2009-03-26 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.25-1
|
||||
|
||||
|
|
|
@ -849,8 +849,12 @@ sub setup_helper_script() {
|
|||
\$port = \$port ? "\$port" : "$defaultport";
|
||||
\$command .= "\$svr \$port";
|
||||
} else {
|
||||
\$port = \$port ? "-p \$port" : "-p $defaultport";
|
||||
\$command .= "\$port \$svr";
|
||||
if ((\$port) || ("$defaultport" ne "")) {
|
||||
\$port = \$port ? "-p \$port" : "-p $defaultport";
|
||||
\$command .= "\$port \$svr";
|
||||
} else {
|
||||
\$command .= "\$svr";
|
||||
}
|
||||
}
|
||||
\$command .= " || sleep 5";
|
||||
# warn("Running:\$command\\n"); # for debug purposes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue