Diff

plugins/mod_posix.lua @ 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
parent 1045:06887b889b17
child 1062:f9a1ac50782b
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