diff options
-rw-r--r-- | openntpd-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openntpd-model.lua b/openntpd-model.lua index cbb0ab7..5279388 100644 --- a/openntpd-model.lua +++ b/openntpd-model.lua @@ -83,7 +83,7 @@ function read_config () end end - local opts = string.sub(format.parse_ini_file(fs.read_file(confdfile) or "", "", "NTPD_OPTS"), 2, -2) + local opts = string.sub(format.parse_ini_file(fs.read_file(confdfile) or "", "", "NTPD_OPTS") or "", 2, -2) if format.opts_to_table(opts, "-s") then config.setstimeonstartup.value = true end |