mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-01 17:11:14 +00:00
helper: Fix missing space separator for ssh_args
Docs suggest using ssh_args without space at the end
ssh_args = "-x -o ConnectTimeout=10"
+ remove also trailing space in another line.
Fixes: 82f8845
("Add in 'command_pre' and 'command_post' configs")
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
This commit is contained in:
parent
b35f198f08
commit
bf6e9d0648
1 changed files with 2 additions and 2 deletions
|
@ -71,9 +71,9 @@ sub script {
|
||||||
my \$user=shift;
|
my \$user=shift;
|
||||||
my \$port=shift;
|
my \$port=shift;
|
||||||
my \$mstr=shift;
|
my \$mstr=shift;
|
||||||
my \$command="$command_pre $comms $comms_args";
|
my \$command="$command_pre $comms $comms_args ";
|
||||||
open(PIPE, ">", \$pipe) or die("Failed to open pipe: \$!\\n");
|
open(PIPE, ">", \$pipe) or die("Failed to open pipe: \$!\\n");
|
||||||
print PIPE "\$\$:\$ENV{WINDOWID}"
|
print PIPE "\$\$:\$ENV{WINDOWID}"
|
||||||
or die("Failed to write to pipe: $!\\n");
|
or die("Failed to write to pipe: $!\\n");
|
||||||
close(PIPE) or die("Failed to close pipe: $!\\n");
|
close(PIPE) or die("Failed to close pipe: $!\\n");
|
||||||
if(\$svr =~ m/==\$/)
|
if(\$svr =~ m/==\$/)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue