plugins/mod_posix.lua
changeset 5452 edf3db386a19
parent 5451 941ad88db8f3
child 5776 bd0ff8ae98a8
child 6357 ccae56e34956
equal deleted inserted replaced
5451:941ad88db8f3 5452:edf3db386a19
     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