From de2694e907a97dfb6a017509d2589c186dc56e72 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 30 Apr 2008 20:36:02 +0000 Subject: Modified cfe, removing option, errtxt, and name, and adding label - This may break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed --- interfaces-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interfaces-model.lua') diff --git a/interfaces-model.lua b/interfaces-model.lua index efc5ed9..57949a3 100644 --- a/interfaces-model.lua +++ b/interfaces-model.lua @@ -271,7 +271,7 @@ iface.validate = function ( def ) -- local rc = true for k,v in pairs(def) do - if #def[k].errtxt > 0 then result = false end + if def[k].errtxt then result = false end end return result, def -- cgit v1.2.3