equal
deleted
inserted
replaced
8 |
8 |
9 |
9 |
10 local want_pposix_version = "0.3.6"; |
10 local want_pposix_version = "0.3.6"; |
11 |
11 |
12 local pposix = assert(require "util.pposix"); |
12 local pposix = assert(require "util.pposix"); |
13 if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end |
13 if pposix._VERSION ~= want_pposix_version then |
|
14 module:log("warn", "Unknown version (%s) of binary pposix module, expected %s. Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); |
|
15 end |
14 |
16 |
15 local signal = select(2, pcall(require, "util.signal")); |
17 local signal = select(2, pcall(require, "util.signal")); |
16 if type(signal) == "string" then |
18 if type(signal) == "string" then |
17 module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); |
19 module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); |
18 end |
20 end |