Merge pull request #195 from kashyapp/master

Adding --timeout to default.rsync
This commit is contained in:
Axel Kittenberger 2013-03-20 04:51:32 -07:00
commit dd4a1134a5

View File

@ -76,6 +76,7 @@ rsync.checkgauge = {
rsync_path = true,
sparse = true,
temp_dir = true,
timeout = true,
times = true,
update = true,
verbose = true,
@ -481,6 +482,11 @@ rsync.prepare = function(
computedN = computedN + 1
end
if crsync.timeout then
computed[ computedN ] = '--timeout=' .. crsync.timeout
computedN = computedN + 1
end
if shortsN ~= 2 then
computed[ 1 ] = table.concat( shorts, '' )
else