diff options
author | bde <bde@FreeBSD.org> | 1996-09-12 02:23:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-12 02:23:33 +0000 |
commit | 073456f615cf9735519fcc776078c9db2518e3aa (patch) | |
tree | 96d6d6d1700c37291a9fc30b9ae27b3fafe0a093 /bin/sh | |
parent | 7c3ec65d085c6b9781a8023b4dbafe198d752f58 (diff) | |
download | FreeBSD-src-073456f615cf9735519fcc776078c9db2518e3aa.zip FreeBSD-src-073456f615cf9735519fcc776078c9db2518e3aa.tar.gz |
Backed out last change. It broke even `exit 1'.
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c index 72c0cfa..53daced 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: main.c,v 1.5 1996/09/01 10:20:38 peter Exp $ + * $Id: main.c,v 1.6 1996/09/08 03:12:22 adam Exp $ */ #ifndef lint @@ -339,13 +339,11 @@ exitcmd(argc, argv) int argc; char **argv; { - extern int oexitstatus; - if (stoppedjobs()) return 0; if (argc > 1) exitstatus = number(argv[1]); - exitshell(oexitstatus); + exitshell(exitstatus); /*NOTREACHED*/ return 0; } |