diff --git a/util/cpp/main.c b/util/cpp/main.c index eb002c3ff..1112a91ea 100644 --- a/util/cpp/main.c +++ b/util/cpp/main.c @@ -36,7 +36,7 @@ main(argc, argv) argc--, argv++; } compile(argc - 1, &argv[1]); - return err_occurred; + exit(err_occurred); } compile(argc, argv)