mirror of https://github.com/AlexeyAB/darknet.git
error should exit -1
This commit is contained in:
parent
994f955348
commit
e0e709f423
|
@ -223,7 +223,7 @@ void copy(double *x, double *y, int n)
|
|||
|
||||
void error(char *s){
|
||||
fprintf(stderr, "Error: %s\n", s);
|
||||
exit(0);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
char *fgetl(FILE *fp)
|
||||
|
|
Loading…
Reference in New Issue