projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
047e63f
)
mod_posix: Make sure that 'pidfile' is a string
author
Kim Alvefur
<zash@zash.se>
Tue, 26 Aug 2014 10:02:41 +0000
(12:02 +0200)
committer
Kim Alvefur
<zash@zash.se>
Tue, 26 Aug 2014 10:02:41 +0000
(12:02 +0200)
plugins/mod_posix.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_posix.lua
b/plugins/mod_posix.lua
index 28fd7f382e6aa08fb5e6de8c57f33942b70c6156..b289fa44b29adf5bad14812f63e48514f5af7bd7 100644
(file)
--- a/
plugins/mod_posix.lua
+++ b/
plugins/mod_posix.lua
@@
-80,7
+80,7
@@
local function write_pidfile()
if pidfile_handle then
remove_pidfile();
end
- pidfile = module:get_option("pidfile");
+ pidfile = module:get_option
_string
("pidfile");
if pidfile then
local err;
local mode = stat(pidfile) and "r+" or "w+";