mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 12:07:05 +08:00
fix: 'hf iclass lookup' - exit when failed to load dictionary file
This commit is contained in:
parent
de631c32ac
commit
30e9395590
1 changed files with 1 additions and 1 deletions
|
@ -2240,7 +2240,7 @@ int LoadDictionaryKeyFile( char* filename, uint8_t **keys, int *keycnt) {
|
|||
|
||||
if ( !(f = fopen( filename , "r")) ) {
|
||||
PrintAndLog(_RED_([!]) " file: %s: not found or locked.", filename);
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
while( fgets(buf, sizeof(buf), f) ){
|
||||
|
|
Loading…
Add table
Reference in a new issue