From: ceriel Date: Mon, 9 Mar 1987 12:59:18 +0000 (+0000) Subject: exit from main, instead of return (bloody SUN) X-Git-Tag: release-5-5~4483 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=29a4a0266bb5c9695f777bdf23d6519f5422124a;p=ack.git exit from main, instead of return (bloody SUN) --- 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)