From 0bf84aed0c76aa02ed6925767d2ebe3ab9fd303c Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Tue, 22 Dec 2020 11:51:26 -0500 Subject: [PATCH] removing trailing . from mod_ood_proxy --- mod_ood_proxy/lib/ood/user_map.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_ood_proxy/lib/ood/user_map.lua b/mod_ood_proxy/lib/ood/user_map.lua index d9b1ba4bd1..b5a8a6d914 100644 --- a/mod_ood_proxy/lib/ood/user_map.lua +++ b/mod_ood_proxy/lib/ood/user_map.lua @@ -11,7 +11,7 @@ function map(r, user_map_match, user_map_cmd, remote_user) if user_map_match ~= nil then sys_user = string.match(remote_user, user_map_match) -- run user_map_cmd and read in stdout - elseif user_map_cmd ~= nil. then + elseif user_map_cmd ~= nil then local handle = io.popen(user_map_cmd .. " '" .. r:escape(remote_user) .. "'") sys_user = handle:read() handle:close()