mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
log bugfix
This commit is contained in:
parent
6df0a1d149
commit
4d16d64cdc
@ -39,7 +39,7 @@ log.init = function (path, write_mode, dmesg_redirect)
|
||||
if _log_sys.mode == MODE.APPEND then
|
||||
_log_sys.file = fs.open(path, "a")
|
||||
else
|
||||
_log_sys.file = fs.open(path, "w+")
|
||||
_log_sys.file = fs.open(path, "w")
|
||||
end
|
||||
|
||||
if dmesg_redirect then
|
||||
|
Loading…
Reference in New Issue
Block a user