diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 19:24:30 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 19:24:30 +0000 |
commit | fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f (patch) | |
tree | cd28bbb1bc80b0a36de234768fd6f3b75b8fcc9c /lib/modelfunctions.lua | |
parent | e07736354b22bef2599d1831a6ba435808c0630d (diff) | |
download | acf-core-fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f.tar.bz2 acf-core-fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f.tar.xz |
Change use of require to work with Lua 5.2
Diffstat (limited to 'lib/modelfunctions.lua')
-rw-r--r-- | lib/modelfunctions.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/modelfunctions.lua b/lib/modelfunctions.lua index 54e9fb4..fb85102 100644 --- a/lib/modelfunctions.lua +++ b/lib/modelfunctions.lua @@ -4,8 +4,8 @@ module(..., package.seeall) fs = require("acf.fs") format = require("acf.format") processinfo = require("acf.processinfo") -require("posix") -require("subprocess") +posix = require("posix") +subprocess = require("subprocess") function getenabled(servicename) local result = cfe({ label = "Program status", name=servicename }) |