Revert part of the previous revision. Changing exit() to return() in main()

is wrong, even though our C compiler doesn't understand that exit() eats
control of the program, and as such can sometimes complain that main() reaches
the bottom of its body without an explicit return().

Aside from that, the functional usefulness of changing it is effectively nil,
so back it out.

Submitted by:	mike
This commit is contained in:
Juli Mallett 2002-05-17 11:16:49 +00:00
parent 27a0cd1ccf
commit 621e56b613
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96803

View File

@ -121,7 +121,7 @@ main(argc, argv)
}
if (rval < 0)
err(1, "read");
return (exitval);
exit(exitval);
}
static void