Refactors data delete_data_utils for the use with nEdge

This commit is contained in:
Simone Mainardi 2018-09-20 10:47:41 +02:00
parent 409c8f50ab
commit bf43aceb9c
5 changed files with 77 additions and 10 deletions

View file

@ -642,7 +642,7 @@ function driver:delete(schema_prefix, tags)
local path_to_del = os_utils.fixPath(delete_info.path(tags))
if not ntop.exists(path_to_del) or not ntop.rmdir(path_to_del) then
if ntop.exists(path_to_del) and not ntop.rmdir(path_to_del) then
return false
end