summaryrefslogtreecommitdiffstats
path: root/lib/roles.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/roles.lua')
-rw-r--r--lib/roles.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/roles.lua b/lib/roles.lua
index b828458..e57490e 100644
--- a/lib/roles.lua
+++ b/lib/roles.lua
@@ -12,7 +12,7 @@ guest_role = "GUEST"
-- startdir should be the app dir
local get_roles_candidates = function (startdir)
local t = {}
- local fh = io.popen('find ' .. startdir .. ' -name "*.roles"')
+ local fh = io.popen('find ' .. format.escapespecialcharacters(startdir) .. ' -name "*.roles"')
for x in fh:lines() do
t[#t + 1] = x
end