mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
fixing loadstring() Lua5.3 issue
This commit is contained in:
parent
f3d65770cd
commit
99b6b18ac2
@ -5,6 +5,8 @@
|
||||
a trailing '/' to it, since that would change it from homedir to rootdir!
|
||||
add: example for Amazon S3 Bucket (Daniel Miranda)
|
||||
fix: setting stdout/stderr to linebuffer mode.
|
||||
fix: Lua5.3 compatiblity, using load() instead of loadstring()
|
||||
Lua5.1 support was thus dropped
|
||||
|
||||
2017-02-16: 2.2.2
|
||||
fix: checkgauge 'insist'
|
||||
|
@ -5031,7 +5031,7 @@ function runner.initialize( firstTime )
|
||||
then
|
||||
local ft = functionWriter.translate( config[ fn ] )
|
||||
|
||||
config[ fn ] = assert( loadstring( 'return '..ft ) )( )
|
||||
config[ fn ] = assert( load( 'return '..ft ) )( )
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user