diff --git a/util/cmisc/GCIPM.c b/util/cmisc/GCIPM.c index fe2b050af..f07953cd5 100644 --- a/util/cmisc/GCIPM.c +++ b/util/cmisc/GCIPM.c @@ -50,6 +50,7 @@ main(argc, argv) DoFile(stdin); } EndOfProgram(); + exit(0); } DoFile(fp) diff --git a/util/cmisc/mkdep.c b/util/cmisc/mkdep.c index b4a0dfbc6..e8939fafe 100644 --- a/util/cmisc/mkdep.c +++ b/util/cmisc/mkdep.c @@ -104,7 +104,7 @@ main(argc, argv) ++err; print_namelist(*argv++, nl); } - return err ? 1 : 0; + exit(err ? 1 : 0); } int