Blame SOURCES/ksh-20120801-nohupfork.patch

0c842d
diff -up ksh-20120801/src/cmd/ksh93/sh/xec.c.nohupfork ksh-20120801/src/cmd/ksh93/sh/xec.c
0c842d
--- ksh-20120801/src/cmd/ksh93/sh/xec.c.nohupfork	2015-08-27 14:25:38.925378019 +0200
0c842d
+++ ksh-20120801/src/cmd/ksh93/sh/xec.c	2015-08-27 14:30:42.267058087 +0200
0c842d
@@ -2067,6 +2067,7 @@ int sh_exec(register const Shnode_t *t,
0c842d
 				{
0c842d
 					sh_exec(t->par.partre,flags);
0c842d
 					shp->st.trapcom[0]=0;
0c842d
+					sh_offoption(SH_INTERACTIVE);
0c842d
 					sh_done(shp,0);
0c842d
 				}
0c842d
 			}