mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
better without -p
This commit is contained in:
parent
0d47c294d1
commit
6faf99d952
@ -34,7 +34,7 @@ default.direct = {
|
||||
if event.isdir then
|
||||
spawn(
|
||||
event,
|
||||
'/bin/mkdir', '-p',
|
||||
'/bin/mkdir',
|
||||
event.targetPath
|
||||
)
|
||||
else
|
||||
|
@ -81,7 +81,7 @@ testfiles();
|
||||
cwriteln('ok, removing sources');
|
||||
if srcdir:sub(1,4) ~= '/tmp' then
|
||||
-- just to make sure before rm -rf
|
||||
cwriteln('exist before drama, srcdir is '', srcdir, ''');
|
||||
cwriteln('exist before drama, srcdir is "', srcdir, '"');
|
||||
os.exit(1);
|
||||
end
|
||||
os.execute('rm -rf '..srcdir..'/*');
|
||||
|
Loading…
Reference in New Issue
Block a user