mod_posix: Fix for removing the pidfile on exit

Thu, 23 Apr 2009 21:34:03 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 23 Apr 2009 21:34:03 +0100
changeset 1061
8c5876378c6f
parent 1060
fb3b2de0eb2f
child 1062
f9a1ac50782b

mod_posix: Fix for removing the pidfile on exit

plugins/mod_posix.lua file | annotate | diff | comparison | revisions
--- 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

mercurial