luci-base/util.lua: enhance checklib function 1695/head
authorDirk Brenken <dev@brenken.org>
Thu, 22 Mar 2018 08:19:51 +0000 (09:19 +0100)
committerDirk Brenken <dev@brenken.org>
Thu, 22 Mar 2018 09:40:42 +0000 (10:40 +0100)
commit29d8770983674f161aac390a73b74c3c2318f38f
tree6481a396d4f482cac28e02cb001b62397b295a83
parentb254e329c6f4d96fce2b8b07ac0a9445e49d1958
luci-base/util.lua: enhance checklib function

* enhance the checklib function in util.lua to check the 'fullpathexe'
  as well, e.g. this fixes runtime errors on the dhcp/dns template in
  environments without dnsmasq

Signed-off-by: Dirk Brenken <dev@brenken.org>
modules/luci-base/luasrc/util.lua