summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-01-15 08:24:32 +0000
committerMika Havela <mika.havela@gmail.com>2008-01-15 08:24:32 +0000
commitc337fbfc848c811b80f6a54a56facc4fb83c31e0 (patch)
tree3159ab734ce020047d5848d30f8aff198f8ef793
parent8d0ffe2097ba6b52efc17f53a05370d0b7d1129a (diff)
downloadacf-openvpn-c337fbfc848c811b80f6a54a56facc4fb83c31e0.tar.bz2
acf-openvpn-c337fbfc848c811b80f6a54a56facc4fb83c31e0.tar.xz
Added debug alternative and information when configs are missing.
git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@571 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--openvpn-read-html.lsp13
1 files changed, 13 insertions, 0 deletions
diff --git a/openvpn-read-html.lsp b/openvpn-read-html.lsp
index d7d454c..98475d2 100644
--- a/openvpn-read-html.lsp
+++ b/openvpn-read-html.lsp
@@ -27,5 +27,18 @@
<TD style="color:red"><i><?= view.conflistfiles[i].err ?></i></TD>
</TR>
<? end ?>
+
+<? if (#view.conflistfiles == 0) then ?>
+ <TR>
+ <TD colspan=3>(No existing config-files)</TD>
+ </TR>
+<? end ?>
</TABLE>
+<?
+--[[ DEBUG INFORMATION
+require("debugs")
+io.write(debugs.variables(view))
+--]]
+?>
+