don't delete tic file if there was an error
This commit is contained in:
parent
f68d1ba99b
commit
0405567aab
@ -401,7 +401,9 @@ int process_tic_file(char *ticfilen) {
|
|||||||
if (ticfile.crc != NULL) {
|
if (ticfile.crc != NULL) {
|
||||||
free(ticfile.crc);
|
free(ticfile.crc);
|
||||||
}
|
}
|
||||||
remove(ticfilename);
|
if (ret == 0) {
|
||||||
|
remove(ticfilename);
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user