From 8dbb7f3049a9483a466efd2b158f1e9470aa7c18 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 16 Jan 2009 21:24:16 +0000 Subject: Tested by removing expected packages, files, and directories. Fixed resulting bugs. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1683 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openntpd-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3