From 95732b497d12c98613bb3c5db16b61f377501a59 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 7 Dec 2005 14:08:12 +0000 Subject: Imported from ../bash-3.1.tar.gz. --- builtins/exit.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtins/exit.def') diff --git a/builtins/exit.def b/builtins/exit.def index 9384ade..ddaa5d3 100644 --- a/builtins/exit.def +++ b/builtins/exit.def @@ -1,7 +1,7 @@ This file is exit.def, from which is created exit.c. It implements the builtins "exit", and "logout" in Bash. -Copyright (C) 1987-2003 Free Software Foundation, Inc. +Copyright (C) 1987-2005 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -105,7 +105,7 @@ exit_or_logout (list) if (!exit_immediate_okay) { register int i; - for (i = 0; i < job_slots; i++) + for (i = 0; i < js.j_jobslots; i++) if (jobs[i] && STOPPED (i)) { fprintf (stderr, _("There are stopped jobs.\n")); -- cgit v1.2.3