diff options
author | dibdot <dev@brenken.org> | 2018-02-20 08:55:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 08:55:24 +0100 |
commit | 09ea6dbd33cc46df3ca17c640ffcb3d148a4639a (patch) | |
tree | dd57ddb8be9a65df97b96a085d28b9127b9592b8 /applications/luci-app-travelmate/luasrc/controller/travelmate.lua | |
parent | 461df8b0dc1a9be5fb9e904d8cdc44c6d0cbd6c8 (diff) | |
parent | 6ffb7056fede2c9f52de5fb665462b4ce2990fa4 (diff) |
Merge pull request #1633 from dibdot/travelmate
luci-app-travelmate: sync with release 1.1.0
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/controller/travelmate.lua')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/controller/travelmate.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua index ef79c7406..0f7583497 100644 --- a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua +++ b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua @@ -33,7 +33,7 @@ function logread() local logfile if nixio.fs.access("/var/log/messages") then - logfile = util.trim(util.exec("cat /var/log/messages | grep 'travelmate-'")) + logfile = util.trim(util.exec("grep -F 'travelmate-' /var/log/messages")) else logfile = util.trim(util.exec("logread -e 'travelmate-'")) end |