diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-07-28 05:31:22 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-07-28 05:31:22 +0000 |
| commit | 9dc385beb1577e11486bc425eddf0d20d594076e (patch) | |
| tree | 7d7fa6616eb5951a2bba11f03423b99175b7c8ee /bin/ksh/exec.c | |
| parent | 1381f68431d8523c6d2d20b36c8ebc251089b933 (diff) | |
Delint.
Diffstat (limited to 'bin/ksh/exec.c')
| -rw-r--r-- | bin/ksh/exec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c index 5cc86d959aa..384b7c35251 100644 --- a/bin/ksh/exec.c +++ b/bin/ksh/exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec.c,v 1.3 1997/07/20 17:42:03 christos Exp $ */ +/* $NetBSD: exec.c,v 1.4 1998/07/28 05:31:25 mycroft Exp $ */ /* * execute command tree @@ -428,8 +428,10 @@ execute(t, flags) exstat = rv; quitenv(); /* restores IO */ - if ((flags&XEXEC)) + if ((flags&XEXEC)) { exit(rv); /* exit child */ + /* NOTREACHED */ + } if (rv != 0 && !(flags & XERROK)) { if (Flag(FERREXIT)) unwind(LERROR); |
