mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Turns out that it is a bad idea to have a missing compat option be a
fatal condition. While it works out really well for diagnosing the case where you want it, but don't have it, it works really badly for the case where you don't have it and don't want it. Remove the printf and exit pair. Replate it with simple return to silently ignore this condition. This is needed to fix the COMPAT_IA32 being required in options.* in stable, but we need to run this change through -current first... MFC after: 3 days
This commit is contained in:
parent
15539a8a80
commit
e21944b6bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211325
@ -351,9 +351,11 @@ update_option(const char *this, char *val, int flags)
|
||||
return;
|
||||
}
|
||||
}
|
||||
fprintf(stderr, "Compat option %s not listed in options file.\n",
|
||||
this);
|
||||
exit(1);
|
||||
/*
|
||||
* Option not found, but that's OK, we just ignore it since it
|
||||
* may be for another arch.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user