I looked at
I had to look at the source to be sure what the three different return
codes 0, 1 and 2 would mean and if there was more to it.
Depending on the error, config(8) exists 1 or 2. 0 on success as usual.
OK?
Index: config.8
===
RCS file: /cvs/src/usr.sbin/config/config.8,v
retrieving revision 1.73
diff -u -p -r1.73 config.8
--- config.813 Sep 2021 17:43:26 - 1.73
+++ config.82 Nov 2021 22:17:14 -
@@ -322,6 +322,8 @@ Show all devices for which attribute
has the value
.Ar val .
.El
+.Sh EXIT STATUS
+.Ex -std
.Sh EXAMPLES
The Ethernet card is not detected at boot because the kernel configuration
does not match the physical hardware configuration,