99a963
--- old/src/cmd/ksh93/sh/xec.c	Wed Jun  1 18:03:07 2011
99a963
+++ old/src/cmd/ksh93/sh/xec.c.orig	Tue Jun  7 16:20:47 2011
99a963
@@ -2963,7 +2963,7 @@
99a963
 #else
99a963
 		myjob = job_post(shp,parent,postid);
99a963
 #endif /* SHOPT_BGX */
99a963
-		if(job.waitall && (flags&FPOU))
99a963
+		if(job.waitall && (flags&FPOU) && !sh_isoption(SH_MONITOR))
99a963
 		{
99a963
 			job.curjobid = myjob+1;
99a963
 			if(job.exitval)