mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Fix incStats/setStats to always use 64 bit counters
This commit is contained in:
parent
6d2ba25b01
commit
b6154fb3e8
6 changed files with 34 additions and 34 deletions
|
|
@ -67,7 +67,7 @@ end
|
|||
-- Execute a system command
|
||||
function sys_utils.execCmd(cmd)
|
||||
if(REAL_EXEC) then
|
||||
-- traceError(TRACE_NORMAL, TRACE_CONSOLE, "[>] ".. cmd)
|
||||
traceError(TRACE_NORMAL, TRACE_CONSOLE, "[>] ".. cmd)
|
||||
return(os.execute(cmd))
|
||||
else
|
||||
traceError(TRACE_NORMAL, TRACE_CONSOLE, "[execCmd] ".. cmd)
|
||||
|
|
|
|||
|
|
@ -692,7 +692,7 @@ function system_config:applyChanges()
|
|||
|
||||
if is_rebooting then
|
||||
self:writeSystemFiles()
|
||||
sys_utils.rebootSystem()
|
||||
tprint("Reboot!") -- sys_utils.rebootSystem()
|
||||
elseif is_self_restarting then
|
||||
sys_utils.restartSelf()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue