Changeset

6357:ccae56e34956

mod_posix: Make sure that 'pidfile' is a string
author Kim Alvefur <zash@zash.se>
date Tue, 26 Aug 2014 12:02:41 +0200
parents 6356:fb1535328ac7
children 6358:55fda5deb5d5
files plugins/mod_posix.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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+";