Changeset

7731:a0ee83c4a82c

mod_posix: Use type-specific config API
author Kim Alvefur <zash@zash.se>
date Sun, 20 Nov 2016 11:51:13 +0100
parents 7730:0656392b1685
children 7732:aba3dd84d9f0
files plugins/mod_posix.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_posix.lua	Sun Nov 20 11:32:05 2016 +0100
+++ b/plugins/mod_posix.lua	Sun Nov 20 11:51:13 2016 +0100
@@ -26,7 +26,7 @@
 
 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.