diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2024-02-04 21:47:50 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-10-09 18:23:42 +0000 |
| commit | e959f2a7d8a8ac942983328f91cd5c566e3f72cb (patch) | |
| tree | a17d06b76446a782d0a14ef3ab720f6c048f1cda | |
| parent | 02880ddf9ed01a4b3444239309f522309ef11043 (diff) | |
ctf*: exit with error upon terminate()
The initial port of the CTF tools had a FreeBSD-specific patch to print
the termination message but exit with a 0 status, with a goal of getting
as much to build as possible and silently ignoring any issues.
We're now past the point where silently ignoring failures makes sense.
Any future issues need to be found and addressed.
PR: 276826
PR: 276930 [exp-run]
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43743
| -rw-r--r-- | cddl/contrib/opensolaris/tools/ctf/cvt/util.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/util.c b/cddl/contrib/opensolaris/tools/ctf/cvt/util.c index 0eda56dbf65a..5139725bb9cf 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/util.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/util.c @@ -149,17 +149,7 @@ terminate(const char *format, ...) if (getenv("CTF_ABORT_ON_TERMINATE") != NULL) abort(); -#if defined(__FreeBSD__) -/* - * For the time being just output the termination message, but don't - * return an exit status that would cause the build to fail. We need - * to get as much stuff built as possible before going back and - * figuring out what is wrong with certain files. - */ - exit(0); -#else exit(1); -#endif } /*PRINTFLIKE1*/ |
