]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: just made sure it uses a default file name now.
authoriceman1001 <iceman@iuse.se>
Mon, 15 Jun 2015 19:02:17 +0000 (21:02 +0200)
committericeman1001 <iceman@iuse.se>
Mon, 15 Jun 2015 19:02:17 +0000 (21:02 +0200)
client/lualibs/utils.lua

index 7db57f333717584cc4b67c8da8419bd05107f9dd..da1797582132a1781831cfbb0e848cef27f4e91d 100644 (file)
@@ -37,9 +37,7 @@ local Utils =
        ------------ FILE READING\r
        ReadDumpFile = function (filename)\r
        \r
-               if filename == nil then \r
-                       return nil, 'Filename is empty'\r
-               end\r
+               filename = filename or 'dumpdata.bin'\r
                if #filename == 0 then\r
                        return nil, 'Filename length is zero'\r
                end\r
Impressum, Datenschutz