aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-23 21:34:03 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-23 21:34:03 +0100
commit580571ef6a072a10ba4cf0ed55efd49bb78c3dc2 (patch)
tree9f09f249fce4cf1585b3d4cfe798c77211683536 /plugins/mod_posix.lua
parent947502344678e30873405e4f0ca2859740a09273 (diff)
downloadprosody-580571ef6a072a10ba4cf0ed55efd49bb78c3dc2.tar.gz
prosody-580571ef6a072a10ba4cf0ed55efd49bb78c3dc2.zip
mod_posix: Fix for removing the pidfile on exit
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r--plugins/mod_posix.lua2
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