Commit 77c7bd32 authored by Mika Havela's avatar Mika Havela

Small changes when showing logfile

git-svn-id: svn://svn.alpinelinux.org/acf/dnscache/trunk@1003 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent 2cc08d53
......@@ -94,7 +94,7 @@ end
function get_logfile ()
local file = {}
local cmdtxt = "cat /var/log/messages | grep " .. processname
local cmdtxt = "grep ".. processname .. " /var/log/messages"
local cmd, error = io.popen(cmdtxt ,r)
local cmdoutput = cmd:read("*a")
cmd:close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment