profile: don't abort when class does not exist
This commit is contained in:
parent
7bc16b6dc8
commit
f6e0f50b9b
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ profile_create
|
|||
pb = profile_class_find(s);
|
||||
if (pb == NULL) {
|
||||
tvherror("profile", "wrong class %s!", s);
|
||||
abort();
|
||||
return NULL;
|
||||
}
|
||||
pro = pb->build();
|
||||
if (pro == NULL) {
|
||||
|
|
Loading…
Add table
Reference in a new issue