add rsh support for rsync on the xdcp -r flag
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
745f58d8ff
commit
41da19ff06
@ -194,6 +194,10 @@ sub remote_copy_command
|
||||
$$config{'dest-file'} && push @dest_file, $$config{'dest-file'};
|
||||
|
||||
push @command, $exec_path;
|
||||
if ($usersh == 1) { # using rsh
|
||||
push @command, "--rsh";
|
||||
push @command, "/bin/rsh";
|
||||
}
|
||||
$$config{'preserve'} && push @command, ('-p', '-t');
|
||||
$$config{'recursive'} && push @command, '-r';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user