Blame SOURCES/ksh-20120801-nohupfork.patch

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