plugins/mod_posix.lua
changeset 7738 1502ec4f3cbe
parent 7362 a5a080c12c96
parent 7734 a0ee83c4a82c
child 8002 980606856882
--- a/plugins/mod_posix.lua	Sat Nov 19 17:37:52 2016 +0100
+++ b/plugins/mod_posix.lua	Mon Nov 21 02:40:47 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.