summaryrefslogtreecommitdiffstats
path: root/clamav-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'clamav-model.lua')
-rw-r--r--clamav-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/clamav-model.lua b/clamav-model.lua
index 370c4b3..4614b6d 100644
--- a/clamav-model.lua
+++ b/clamav-model.lua
@@ -20,7 +20,7 @@ local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
-- PUBLIC FUNCTIONS
function mymodule.get_startstop(self, clientdata)
- return modelfunctions.get_startstop(processname)
+ return modelfunctions.get_startstop(processname)
end
function mymodule.startstop_service(self, startstop, action)
@@ -41,7 +41,7 @@ function mymodule.getfilelist()
for i,name in ipairs(filelist) do
local filedetails = posix.stat(name) or {}
filedetails.filename = name
- table.insert(listed_files, filedetails)
+ table.insert(listed_files, filedetails)
end
return cfe({ type="structure", value=listed_files, label="ClamAV File List" })