diff options
author | Kim Alvefur <zash@zash.se> | 2014-08-26 12:02:41 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-08-26 12:02:41 +0200 |
commit | d431f7e1ec80f4ecef0935aeaff6044e76185da2 (patch) | |
tree | e97f972b954c7bbd172c2f3a9dc66d341d20f323 /plugins | |
parent | 6af9beaccf1f42a76f6128fab0d6462b8059a6d7 (diff) | |
download | prosody-d431f7e1ec80f4ecef0935aeaff6044e76185da2.tar.gz prosody-d431f7e1ec80f4ecef0935aeaff6044e76185da2.zip |
mod_posix: Make sure that 'pidfile' is a string
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_posix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 28fd7f38..b289fa44 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+"; |