mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 09:53:23 +00:00
Get "-a 'cmd ; cmd'" multiple commands working
Previously cssh -a "hostname ; hostname" <server> would return the remote hostname and the local hostname. Fix to allow for both commands to run on the remote server.
This commit is contained in:
parent
5d59372fbf
commit
cb3aa92feb
3 changed files with 2 additions and 2 deletions
1
Changes
1
Changes
|
@ -4,6 +4,7 @@
|
||||||
* Rework config handling into a module
|
* Rework config handling into a module
|
||||||
* Rework cluster handling into a module
|
* Rework cluster handling into a module
|
||||||
* Added 'autoclose' functionality - see docs
|
* Added 'autoclose' functionality - see docs
|
||||||
|
* Allow "-a 'cmd ; cmd'" to work for multiple remote commands
|
||||||
|
|
||||||
2011-07-28 Duncan Ferguson <duncan_ferguson@user.sf.net> - v4.00_11
|
2011-07-28 Duncan Ferguson <duncan_ferguson@user.sf.net> - v4.00_11
|
||||||
* Fix '-l <username>' option (SF bug 3380675)
|
* Fix '-l <username>' option (SF bug 3380675)
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
allow for multiple commands with -a 'echo ; echo ; echo'
|
|
|
@ -119,7 +119,7 @@ sub script {
|
||||||
\$command .= "\$svr";
|
\$command .= "\$svr";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\$command .= " $command ; $postcommand";
|
\$command .= " \\\"$command\\\" ; $postcommand";
|
||||||
warn("Running:\$command\\n"); # for debug purposes
|
warn("Running:\$command\\n"); # for debug purposes
|
||||||
exec(\$command);
|
exec(\$command);
|
||||||
HERE
|
HERE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue