diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 14:50:38 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-08-10 14:50:38 +0000 |
commit | fdd3e5bb4a341b40b841c3e6df02da1d73db831c (patch) | |
tree | c232e404e365079d39877e88dd51164a02cd3058 /clamav-model.lua | |
parent | db6e7f239d7c669afc40ec88e9f99cc96f1a8f78 (diff) | |
download | acf-clamav-master.tar.bz2 acf-clamav-master.tar.xz |
Diffstat (limited to 'clamav-model.lua')
-rw-r--r-- | clamav-model.lua | 4 |
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" }) |