X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_posix.lua;h=c9b9f3aa03986506831fa35c29aae9bf5ddd43d7;hb=73e841ddd082009e3f19502b207231bbddfa0dbb;hp=89d6d2b6c1b4f768101dd25e4167c06447212d13;hpb=82edcefcb3e5613fc6e9088926863db36bd3955b;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+";