# HG changeset patch # User Matthew Wild # Date 1240518843 -3600 # Node ID 8c5876378c6f7745f9fd84efafe66a43775c4ae4 # Parent fb3b2de0eb2fcc5dadf68f7f2407bb4987ff8d91 mod_posix: Fix for removing the pidfile on exit diff -r fb3b2de0eb2f -r 8c5876378c6f plugins/mod_posix.lua --- 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