plugins/mod_posix.lua
changeset 6357 ccae56e34956
parent 5452 edf3db386a19
child 6367 769a3577dd85
--- 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+";