Browse Source

replaced return by exit

ceriel 37 years ago
parent
commit
6e9cf566c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util/ncgg/main.c

+ 1 - 1
util/ncgg/main.c

@@ -52,5 +52,5 @@ main(argc,argv) char **argv; {
 	} else {
 		errorexit();
 	}
-	return(nerrors==0 ? 0 : -1);
+	exit(nerrors==0 ? 0 : -1);
 }