From 5ac05cab9f7bfcd5dc9b08a67e18ff5e317f8d1d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 25 May 2004 18:38:56 +0000 Subject: 19976: fix spurious job table full messages --- Src/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/exec.c') diff --git a/Src/exec.c b/Src/exec.c index fe1415845..2af94f582 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -219,7 +219,7 @@ zfork(void) /* * Is anybody willing to explain this test? */ - if (thisjob >= jobtabsize - 1 && !expandjobtab()) { + if (thisjob != -1 && thisjob >= jobtabsize - 1 && !expandjobtab()) { zerr("job table full", NULL, 0); return -1; } -- cgit v1.2.3