aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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