summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-01-16 21:24:16 +0000
committerTed Trask <ttrask01@yahoo.com>2009-01-16 21:24:16 +0000
commit8dbb7f3049a9483a466efd2b158f1e9470aa7c18 (patch)
tree44fbd1dc2e48381cf350ef6fbc7ca7daaa98aa74
parent021d8e0943124418804973e04172435f4cc101d9 (diff)
downloadacf-openntpd-8dbb7f3049a9483a466efd2b158f1e9470aa7c18.tar.bz2
acf-openntpd-8dbb7f3049a9483a466efd2b158f1e9470aa7c18.tar.xz
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
-rw-r--r--openntpd-model.lua2
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