File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 241241
242242 $ host = Context::get ()->getHost ();
243243 if ($ host instanceof Localhost) {
244- runLocally ("rsync {$ rsyncFlags } {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} ' $ src/' ' $ dst/' " , $ config );
244+ runLocally ("rsync {$ rsyncFlags } {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} ' $ src/' ' $ dst/' " , timeout: $ config[ ' timeout ' ] );
245245 return ;
246246 }
247247
248248 $ sshArguments = $ host ->connectionOptionsString ();
249- runLocally ("rsync {$ rsyncFlags } -e 'ssh $ sshArguments' {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} ' $ src/' ' {$ host ->connectionString ()}: $ dst/' " , $ config );
249+ runLocally ("rsync {$ rsyncFlags } -e 'ssh $ sshArguments' {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} ' $ src/' ' {$ host ->connectionString ()}: $ dst/' " , timeout: $ config[ ' timeout ' ] );
250250});
You can’t perform that action at this time.
0 commit comments