diff options
Diffstat (limited to 'openntpd-model.lua')
-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 cbfc16f..ca4abc0 100644 --- a/openntpd-model.lua +++ b/openntpd-model.lua @@ -358,7 +358,7 @@ end function get_logfile () local file = {} - local cmdtxt = "cat /var/log/messages | grep ntpd" + local cmdtxt = "grep ".. processname .. " /var/log/messages" local cmd, error = io.popen(cmdtxt ,r) local cmdoutput = cmd:read("*a") cmd:close() |