From f434b6b167477971f1df54ffc71b031e13705a75 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 26 Jul 2018 14:29:23 -0700 Subject: Fix for -e strings not getting executed because Files.walk didn't respect spoofing. --- files.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files.lua') diff --git a/files.lua b/files.lua index 72d9a43..eaea883 100644 --- a/files.lua +++ b/files.lua @@ -177,7 +177,7 @@ Files.walk = function(path, flush_cache) _BROWSE_CACHE = { } end local files - if path == 'stdin' then + if path == 'stdin' or _SPOOFED_FILES[path] then files = { path } -- cgit v1.2.3