Revert previous commit, from Bruce:

This is a style bug.  err() is declared is non-returning so that every
  use of it doesn't need to be encrufted with NOTREACHED.  It's too bad
  that only gcc understands the declaration.

Asked by:	bde@
This commit is contained in:
charnier 2003-06-09 19:21:35 +00:00
parent 5cbf9aa68d
commit f41e5c9c45

View File

@ -242,7 +242,6 @@ exec_shell(const char *command, char *use_shell, char *use_name)
switch(pid = vfork()) {
case -1: /* error */
err(1, "vfork");
/* NOTREACHED */
case 0: /* child */
(void)sigsetmask(omask);
execl(use_shell, use_name, "-c", command, (char *)NULL);