mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 01:43:25 +00:00
Fix 'autoclose' functionality
Logic wasn't right when defined in the config file and also when used on the command line.
This commit is contained in:
parent
b41907bcc4
commit
a8e68a461b
3 changed files with 6 additions and 3 deletions
|
@ -27,7 +27,7 @@ sub script {
|
|||
my $command = $config->{command};
|
||||
my $autoclose = $config->{auto_close};
|
||||
|
||||
my $postcommand = $autoclose ? "echo Press RETURN to continue; read IGNORE" : "sleep $autoclose";
|
||||
my $postcommand = $autoclose ? "sleep $autoclose" : "echo Press RETURN to continue; read IGNORE"; # : "sleep $autoclose";
|
||||
|
||||
# # P = pipe file
|
||||
# # s = server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue