mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-03-29 10:39:54 +00:00
Merge pull request #3158 from NRException/master
fix broken logfile location in Paxton_clone.lua
This commit is contained in:
@@ -10,7 +10,7 @@ local logfilecmd
|
||||
if package.config:sub(1,1) == "\\" then
|
||||
logfilecmd = 'dir /a-d /o-d /tw /b/s "' .. dir .. '" 2>nul:'
|
||||
else
|
||||
logfilecmd = 'find "' .. dir .. '" -type f -printf "%T@ %p\\n" | sort -nr | cut -d" " -f2-'
|
||||
logfilecmd = 'find "' .. dir .. '" -type f | sort -nr | cut -d" " -f2-'
|
||||
end
|
||||
|
||||
local logfile = (io.popen(logfilecmd):read("*a"):match("%C+"))
|
||||
|
||||
Reference in New Issue
Block a user