diff options
-rw-r--r-- | fetchmail-model.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fetchmail-model.lua b/fetchmail-model.lua index d3dd51c..456a12e 100644 --- a/fetchmail-model.lua +++ b/fetchmail-model.lua @@ -316,9 +316,8 @@ function get_filedetails() end function update_filecontent(filedetails) - filedetails.value.filename.value = configfile -- FIXME - validation - local retval = modelfunctions.setfiledetails(filedetails) + local retval = modelfunctions.setfiledetails(filedetails, {configfile}) posix.chmod(configfile, "rwx--x---") config = nil return retval |