mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Merge pull request #563 from sigwinch28/fix-analyzesize-exit-code
Remove potentially undefined exit behaviour from analyzesize tool
This commit is contained in:
commit
1242926222
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ except FileNotFoundError:
|
|||
|
||||
if len(sys.argv) < 3:
|
||||
print("Usage: analyzesize.py <info|add|diff> <datasetname>")
|
||||
exit(-1)
|
||||
exit(2)
|
||||
action, name = sys.argv[1:3]
|
||||
currentdata = subprocess.run(["arm-none-eabi-size","armsrc/obj/fullimage.stage1.elf"], stdout=subprocess.PIPE).stdout
|
||||
currentdata = currentdata.split(b"\n")[1].strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue