mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix return code
This commit is contained in:
parent
bf89143232
commit
e03f4e1bf8
1 changed files with 4 additions and 1 deletions
|
|
@ -18,6 +18,9 @@ if not isAdministratorOrPrintErr() then
|
|||
return
|
||||
end
|
||||
|
||||
ntop.serviceRestart()
|
||||
if not ntop.serviceRestart() then
|
||||
rest_utils.answer(rest_utils.consts.err.internal_error)
|
||||
return
|
||||
end
|
||||
|
||||
rest_utils.answer(rc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue