X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/86dab5168e73c78c9eb348a1008e81822c7b8d2e..3d83b58b50a328b2bedd63cb102158a8c43c07ef:/client/scripts/tracetest.lua diff --git a/client/scripts/tracetest.lua b/client/scripts/tracetest.lua index 3b577381..e4a9215c 100644 --- a/client/scripts/tracetest.lua +++ b/client/scripts/tracetest.lua @@ -84,17 +84,19 @@ local function main(args) local files = {} -- Find a set of traces staring with EM - local p = io.popen(tracesEM) + local p = assert( io.popen(tracesEM)) for file in p:lines() do table.insert(files, file) end + p.close(); -- Find a set of traces staring with MOD - p = io.popen(tracesMOD) + p = assert( io.popen(tracesMOD) ) for file in p:lines() do table.insert(files, file) end - + p.close(); + local cmdLFSEARCH = "lf search 1" -- main loop