diff options
Diffstat (limited to 'syslog-controller.lua')
-rw-r--r-- | syslog-controller.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syslog-controller.lua b/syslog-controller.lua index f0fb343..b592672 100644 --- a/syslog-controller.lua +++ b/syslog-controller.lua @@ -100,7 +100,7 @@ function config(self) end -- Disable management buttons if there exist errors in the config for k,v in pairs(config) do - if (config[k]["errtxt"] ~= "") then + if (config[k]["errtxt"]) then disablestart = "yes" disablestop = "yes" disablerestart = "yes" @@ -160,7 +160,7 @@ function expert(self) end -- Disable management buttons if there exist errors in the config for k,v in pairs(config) do - if (config[k]["errtxt"] ~= "") then + if (config[k]["errtxt"]) then disablestart = "yes" disablestop = "yes" disablerestart = "yes" |