Changeset

1061:8c5876378c6f

mod_posix: Fix for removing the pidfile on exit
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Apr 2009 21:34:03 +0100
parents 1060:fb3b2de0eb2f
children 1062:f9a1ac50782b
files plugins/mod_posix.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_posix.lua	Fri Apr 24 00:35:50 2009 +0500
+++ b/plugins/mod_posix.lua	Thu Apr 23 21:34:03 2009 +0100
@@ -18,7 +18,7 @@
 
 local function remove_pidfile()
 	if pidfile_written then
-		os.remove(pidfile);
+		os.remove(pidfile_written);
 		pidfile_written = nil;
 	end
 end