diff options
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 ?> |