mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
Fixed issue with binary files in windows, http://www.lua.org/pil/21.2.2.html
This commit is contained in:
parent
4c367827b5
commit
6cacefa48d
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ local function main(args)
|
||||||
end
|
end
|
||||||
-- Validate the parameters
|
-- Validate the parameters
|
||||||
|
|
||||||
local infile = io.open(input, "r")
|
local infile = io.open(input, "rb")
|
||||||
if infile == nil then
|
if infile == nil then
|
||||||
return oops("Could not read file ", input)
|
return oops("Could not read file ", input)
|
||||||
end
|
end
|
||||||
|
@ -118,4 +118,4 @@ In the future, we may implement so that scripts are invoked directly
|
||||||
into a 'main' function, instead of being executed blindly. For future
|
into a 'main' function, instead of being executed blindly. For future
|
||||||
compatibility, I have done so, but I invoke my main from here.
|
compatibility, I have done so, but I invoke my main from here.
|
||||||
--]]
|
--]]
|
||||||
main(args)
|
main(args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue