diff options
author | Kim Alvefur <zash@zash.se> | 2016-11-21 02:40:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-11-21 02:40:47 +0100 |
commit | fd4206fdb2dc539efb8c2275dbaf3599a72c4933 (patch) | |
tree | 62ffc114d6f84139c60043dba1936d9606f9b6ba /plugins/mod_posix.lua | |
parent | 9d8ddba6ca4e2fcdb8939e521fd194fc0d34f680 (diff) | |
parent | 58a712e247dbaede24c3297260bae145e0ede16e (diff) | |
download | prosody-fd4206fdb2dc539efb8c2275dbaf3599a72c4933.tar.gz prosody-fd4206fdb2dc539efb8c2275dbaf3599a72c4933.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_posix.lua')
-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 7333fe47..122f550a 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -26,7 +26,7 @@ local prosody = _G.prosody; module:set_global(); -- we're a global module -local umask = module:get_option("umask") or "027"; +local umask = module:get_option_string("umask", "027"); pposix.umask(umask); -- Allow switching away from root, some people like strange ports. |