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:
parent
3ba993a100
commit
3adb4d32aa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user