diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-17 11:56:36 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-17 11:56:36 +0100 |
commit | 93fbb53acdb0e7ecd7d8745ca514417b3fde1e6f (patch) | |
tree | 49f2b6ce22e89b3107d09da8b238acebc9c11045 /plugins/mod_posix.lua | |
parent | 4af6813db9ffa6dcacd2eb20417ca4667159f9af (diff) | |
parent | 95e01d796f994eb9ffcb902b38dd1c17ca7c4c57 (diff) | |
download | prosody-93fbb53acdb0e7ecd7d8745ca514417b3fde1e6f.tar.gz prosody-93fbb53acdb0e7ecd7d8745ca514417b3fde1e6f.zip |
Merge with 0.6
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r-- | plugins/mod_posix.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 5888ae10..c38f7eba 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -82,6 +82,7 @@ local function write_pidfile() end pidfile = module:get_option("pidfile"); if pidfile then + local err; local mode = stat(pidfile) and "r+" or "w+"; pidfile_handle, err = io.open(pidfile, mode); if not pidfile_handle then |