]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripts/tracetest.lua
ADD: added a reference to a generic CRC-8 checksum algo in common/crc.c
[proxmark3-svn] / client / scripts / tracetest.lua
index 3b577381cbd818c69839a0754cfb4a6e1cfc0088..e4a9215cb0a74bb0c877c0f636c4097a1031c721 100644 (file)
@@ -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
Impressum, Datenschutz