summaryrefslogtreecommitdiffstats
path: root/openssl-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-controller.lua')
-rwxr-xr-x[-rw-r--r--]openssl-controller.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-controller.lua b/openssl-controller.lua
index 824e6bd..7d9ae9a 100644..100755
--- a/openssl-controller.lua
+++ b/openssl-controller.lua
@@ -9,6 +9,7 @@ local sslstatus
mvc={}
mvc.pre_exec = function(self)
+ self.model.set_umask()
sslstatus = self.model.getstatus()
if (sslstatus.value.version.errtxt and self.conf.action ~= "status")
or (sslstatus.value.conffile.errtxt and self.conf.action ~= "status" and self.conf.action ~= "editconfigfile" and self.conf.action ~= "checkenvironment")