mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-02 01:21:14 +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
|
@ -119,7 +119,7 @@ sub script {
|
|||
\$command .= "\$svr";
|
||||
}
|
||||
}
|
||||
\$command .= " $command ; $postcommand";
|
||||
\$command .= " \\\"$command\\\" ; $postcommand";
|
||||
warn("Running:\$command\\n"); # for debug purposes
|
||||
exec(\$command);
|
||||
HERE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue