diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-01-24 16:48:28 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-01-24 16:48:28 +0000 |
commit | 7b5422d3943e6243d3b48da4f24cc024c01e49bb (patch) | |
tree | 1deb2b2e9d47a3f43a54f7b0140baa6cb8958315 /syslog-config-html.lsp | |
parent | 4aaf7226430f480eb75e3653958d2f1f448fc186 (diff) | |
download | acf-alpine-baselayout-7b5422d3943e6243d3b48da4f24cc024c01e49bb.tar.bz2 acf-alpine-baselayout-7b5422d3943e6243d3b48da4f24cc024c01e49bb.tar.xz |
Fixed so that acf doesnt brake if the confi-file is missing or is empty
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@641 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r-- | syslog-config-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog-config-html.lsp b/syslog-config-html.lsp index 1167751..6c1d6c3 100644 --- a/syslog-config-html.lsp +++ b/syslog-config-html.lsp @@ -67,7 +67,7 @@ <H3>Remote logging</H3> <DL> <DT>Activate remote logging</DT> - <DD><input type="checkbox" name="remotelogging" <? if (view.config["SYSLOGD_OPTS"]["-R"]) then io.write('checked=yes') end ?> /> + <DD><input type="checkbox" name="remotelogging" <? if (view.config["SYSLOGD_OPTS"]["-R"] ~= "") then io.write('checked=yes') end ?> /> <? if (view.errors["SYSLOGD_OPTS"]) and (view.errors["SYSLOGD_OPTS"]["-R"]) then io.write("<p class='error'>",view.errors["SYSLOGD_OPTS"]["-R"] ,"</p>") end ?> |