diff options
Diffstat (limited to 'syslog-model.lua')
-rw-r--r-- | syslog-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog-model.lua b/syslog-model.lua index 262bb17..0709883 100644 --- a/syslog-model.lua +++ b/syslog-model.lua @@ -171,7 +171,7 @@ function getconfig() -- Sum all errors into one cfe local sumerrors = "" for k,v in pairs(config) do - if (config[k]["errtxt"] ~= "") then + if (config[k]["errtxt"]) then sumerrors = sumerrors .. config[k]["errtxt"] .. "\n" end end |