# HG changeset patch # User Kim Alvefur # Date 1409047361 -7200 # Node ID ccae56e34956c28b8e8b76d598ba83fddc086e61 # Parent fb1535328ac71323e6427131c847cf122c87e30d mod_posix: Make sure that 'pidfile' is a string diff -r fb1535328ac7 -r ccae56e34956 plugins/mod_posix.lua --- a/plugins/mod_posix.lua Tue Aug 26 12:00:51 2014 +0200 +++ b/plugins/mod_posix.lua Tue Aug 26 12:02:41 2014 +0200 @@ -80,7 +80,7 @@ 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+";