Format fix

This commit is contained in:
Luca Deri 2023-09-19 19:06:28 +02:00
parent 43d8e20c98
commit 24755e55d8
3 changed files with 6 additions and 3 deletions

View file

@ -499,7 +499,10 @@ function flowinfo2process(process, host_info_to_url)
-- clean_user_name)
-- end
fmt = string.format("[%s]", table.concat({proc_user_name, proc_name}, ' '))
if((proc_user_name ~= '') or (proc_name ~= '')) then
fmt = string.format("[%s]", table.concat({proc_user_name, proc_name}, ' '))
end
end
return fmt