mirror of https://github.com/octoleo/lsyncd.git
fixing typos
This commit is contained in:
parent
ccae4ac142
commit
0a0fef20ac
|
@ -188,13 +188,10 @@ rsync.action = function
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local pathsS = table.concat( paths, '\n' )
|
|
||||||
local paths0 = table.concat( paths, '\000' )
|
|
||||||
|
|
||||||
log(
|
log(
|
||||||
'Normal',
|
'Normal',
|
||||||
'Calling rsync with filter-list of new/modified files/dirs\n',
|
'Calling rsync with filter-list of new/modified files/dirs\n',
|
||||||
filterS
|
table.concat( paths, '\n' )
|
||||||
)
|
)
|
||||||
|
|
||||||
local delete = nil
|
local delete = nil
|
||||||
|
@ -208,7 +205,7 @@ rsync.action = function
|
||||||
spawn(
|
spawn(
|
||||||
elist,
|
elist,
|
||||||
config.rsync.binary,
|
config.rsync.binary,
|
||||||
'<', filter0,
|
'<', table.concat( paths, '\000' ),
|
||||||
config.rsync._computed,
|
config.rsync._computed,
|
||||||
'-r',
|
'-r',
|
||||||
delete,
|
delete,
|
||||||
|
|
|
@ -35,7 +35,7 @@ local pid = spawn(
|
||||||
cwriteln( 'waiting for Lsyncd to startup' )
|
cwriteln( 'waiting for Lsyncd to startup' )
|
||||||
posix.sleep( 1 )
|
posix.sleep( 1 )
|
||||||
|
|
||||||
churn( srcdir, 50, false )
|
churn( srcdir, 150, false )
|
||||||
|
|
||||||
cwriteln( 'waiting for Lsyncd to finish its jobs.' )
|
cwriteln( 'waiting for Lsyncd to finish its jobs.' )
|
||||||
posix.sleep( 10 )
|
posix.sleep( 10 )
|
||||||
|
|
Loading…
Reference in New Issue