aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-12 02:23:33 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-12 02:23:33 +0000
commit4d55cbc522c3a558507ac52445076c511d62c8a3 (patch)
tree96d6d6d1700c37291a9fc30b9ae27b3fafe0a093
parent29c8b5b52b2c5ba6fb558dc25d85caafbb546300 (diff)
Notes
-rw-r--r--bin/sh/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c
index 72c0cfa3d49e3..53daced530d5f 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;
}