mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes wrongly parsed return code after changing -x/-X
This commit is contained in:
parent
c97196c071
commit
c102188bf9
1 changed files with 2 additions and 2 deletions
|
|
@ -27,8 +27,8 @@ function conf_utils.increase_num_host_num_flows(incr_num_hosts, incr_num_flows)
|
|||
local res = {
|
||||
exit_status = exit_status
|
||||
}
|
||||
|
||||
if string.match(exit_status, "Succesfully changed") then
|
||||
|
||||
if string.find(exit_status, "succesfully changed") then
|
||||
-- Set the redis key for the restart
|
||||
ntop.setCache(redis_key, true)
|
||||
rest_utils.answer(rest_utils.consts.success.ok, res)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue