# HG changeset patch # User Kim Alvefur # Date 1479639073 -3600 # Node ID a0ee83c4a82c1ee96d9e4b708c578a82fe195995 # Parent 0656392b16853e9d2ce6595a8e38ce3cded06fad mod_posix: Use type-specific config API diff -r 0656392b1685 -r a0ee83c4a82c plugins/mod_posix.lua --- 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.