plugins/mod_posix.lua

changeset 1061
8c5876378c6f
parent 1045
06887b889b17
child 1062
f9a1ac50782b
--- 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