From 00622fadb3b2846f5768841b5d187fd15de7f2f6 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 24 Jun 2008 17:57:36 +0000 Subject: 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 --- openssl-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl-controller.lua') 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 -- cgit v1.2.3