X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_posix.lua;h=c9b9f3aa03986506831fa35c29aae9bf5ddd43d7;hb=244d4d026d5077bac452ea1c7660776e322164e3;hp=89d6d2b6c1b4f768101dd25e4167c06447212d13;hpb=dc96e288d5a1871b73085d174cc13f001bc963bd;p=prosody.git diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 89d6d2b6..c9b9f3aa 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -80,7 +80,7 @@ local function write_pidfile() if pidfile_handle then remove_pidfile(); end - pidfile = module:get_option("pidfile"); + pidfile = module:get_option_string("pidfile"); if pidfile then local err; local mode = stat(pidfile) and "r+" or "w+";