mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 21:44:50 +00:00
fix: 'hf iclass lookup' - exit when failed to load dictionary file
This commit is contained in:
1 parent
de631c32ac
commit
30e9395590
1 file changed
+1
-1
@@ -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) ){
|
||||
|
||||
Reference in new issue
Block a user