mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-01 17:11:14 +00:00
Fix watch line expression to catch 4.x series tarballs
Debian patch LP ID #1076897
This commit is contained in:
parent
74d1cf7f0a
commit
dc7b4ccb17
2 changed files with 4 additions and 3 deletions
1
Changes
1
Changes
|
@ -10,6 +10,7 @@
|
|||
* Fix migration of .csshrc when not working as expected (Debian bug ID #673507)
|
||||
* Remove doc references to 'always_tile' as renamed 'window_tiling' (Debian bug ID #697371)
|
||||
* Updated manpage whatis entries (patch by Tony Mancill)
|
||||
* Fix watch line expression to catch 4.x series tarballs (Debian patch LP ID #1076897)
|
||||
|
||||
2012-12-09 Duncan Ferguson <duncan_ferguson@user.sf.net> - v4.01_02
|
||||
* Fix logic when using 'autoclose' on the command line or config file
|
||||
|
|
|
@ -24,7 +24,7 @@ sub script {
|
|||
|
||||
my $comms = $config->{ $config->{comms} };
|
||||
my $comms_args = $config->{ $config->{comms} . '_args'};
|
||||
my $command = $config->{command};
|
||||
my $config_command = $config->{command};
|
||||
my $autoclose = $config->{auto_close};
|
||||
|
||||
my $postcommand = $autoclose ? "echo Sleeping for $autoclose seconds; sleep $autoclose" : "echo Press RETURN to continue; read IGNORE"; # : "sleep $autoclose";
|
||||
|
@ -119,8 +119,8 @@ sub script {
|
|||
\$command .= "\$svr";
|
||||
}
|
||||
}
|
||||
if("$command") {
|
||||
\$command .= " \\\"$command\\\"";
|
||||
if("$config_command") {
|
||||
\$command .= " \\\"$config_command\\\"";
|
||||
}
|
||||
\$command .= " ; $postcommand";
|
||||
warn("Running:\$command\\n"); # for debug purposes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue