diff options
Diffstat (limited to 'lib/modelfunctions.lua')
-rw-r--r-- | lib/modelfunctions.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/modelfunctions.lua b/lib/modelfunctions.lua index 70f1412..3a02bd5 100644 --- a/lib/modelfunctions.lua +++ b/lib/modelfunctions.lua @@ -205,6 +205,7 @@ function write_file_with_audit (self, path, str) end fs.write_file(tmpfile,str) + fs.copy_properties(path, tmpfile) if (type(pre) == "string" and #pre) then os.execute(pre) |