summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrony-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrony-model.lua b/chrony-model.lua
index c7f0a73..7f5e642 100644
--- a/chrony-model.lua
+++ b/chrony-model.lua
@@ -29,7 +29,7 @@ function getconfig()
output.KEYFILE = cfe({value="/etc/chrony/chrony.keys", label="keyfile"})
output.LOGDIR = cfe({value="/var/log/chrony", label="logdir"})
- local config = format.parse_configfile(fs.read_file(configfile), "[!;#%]")
+ local config = format.parse_configfile(fs.read_file(configfile), "[!;#%%]")
if config then
output.SERVER.value = config.server or output.SERVER.value
output.ALLOW.value = config.allow or output.ALLOW.value