Diff

plugins/mod_posix.lua @ 7735:1502ec4f3cbe

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 21 Nov 2016 02:40:47 +0100
parent 7359:a5a080c12c96
parent 7731:a0ee83c4a82c
child 7999:980606856882
line wrap: on
line diff
--- 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.