mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
check if /etc/ntopng exists crating the backup tarball
This commit is contained in:
parent
303d36b382
commit
a049ba821e
1 changed files with 5 additions and 2 deletions
|
|
@ -63,9 +63,12 @@ else
|
|||
send_error("tar_not_found")
|
||||
else
|
||||
|
||||
local ntopng_conf_dir = "/etc/ntopng"
|
||||
local config_files = ""
|
||||
|
||||
local config_files = ntopng_conf_dir
|
||||
local ntopng_conf_dir = "/etc/ntopng"
|
||||
if ntop.exists(ntopng_conf_dir) then
|
||||
config_files = config_files .. " " .. ntopng_conf_dir
|
||||
end
|
||||
|
||||
local license_path = "/etc/ntopng.license"
|
||||
if ntop.isnEdge() then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue