summaryrefslogtreecommitdiffstats
path: root/openssl-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-06-24 17:57:36 +0000
committerTed Trask <ttrask01@yahoo.com>2008-06-24 17:57:36 +0000
commit00622fadb3b2846f5768841b5d187fd15de7f2f6 (patch)
tree926ffc1553884c62b7c4d6c9feba980e1e25dfbb /openssl-controller.lua
parent46350f93bb752cb8674b78dc5b02a37607e5877d (diff)
downloadacf-openssl-00622fadb3b2846f5768841b5d187fd15de7f2f6.tar.bz2
acf-openssl-00622fadb3b2846f5768841b5d187fd15de7f2f6.tar.xz
Changed openssl config file name and fixed environment check.
git-svn-id: svn://svn.alpinelinux.org/acf/openssl/trunk@1256 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openssl-controller.lua')
-rw-r--r--openssl-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-controller.lua b/openssl-controller.lua
index f8e32a1..2caa20f 100644
--- a/openssl-controller.lua
+++ b/openssl-controller.lua
@@ -20,7 +20,7 @@ mvc={}
mvc.pre_exec = function(self)
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")
+ or (sslstatus.value.conffile.errtxt and self.conf.action ~= "status" and self.conf.action ~= "editconfigfile" and self.conf.action ~= "checkenvironment")
or (sslstatus.value.environment.errtxt and self.conf.action ~= "status" and self.conf.action ~= "editconfigfile" and self.conf.action ~= "checkenvironment")
or ((sslstatus.value.cacert.errtxt or sslstatus.value.cakey.errtxt) and self.conf.action ~= "status" and self.conf.action ~= "editconfigfile" and self.conf.action ~= "putcacert" and self.conf.action ~= "generatecacert" and self.conf.action ~= "checkenvironment")
then