diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-23 21:34:03 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-23 21:34:03 +0100 |
commit | 580571ef6a072a10ba4cf0ed55efd49bb78c3dc2 (patch) | |
tree | 9f09f249fce4cf1585b3d4cfe798c77211683536 | |
parent | 947502344678e30873405e4f0ca2859740a09273 (diff) | |
download | prosody-580571ef6a072a10ba4cf0ed55efd49bb78c3dc2.tar.gz prosody-580571ef6a072a10ba4cf0ed55efd49bb78c3dc2.zip |
mod_posix: Fix for removing the pidfile on exit
-rw-r--r-- | plugins/mod_posix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 36ca9a8c..7fbdfa93 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -18,7 +18,7 @@ local pidfile_written; local function remove_pidfile() if pidfile_written then - os.remove(pidfile); + os.remove(pidfile_written); pidfile_written = nil; end end |