Blame SOURCES/ksh-20120801-sufix.patch

1a53a7
diff -up ksh-20120801/src/cmd/ksh93/sh/io.c.sufix ksh-20120801/src/cmd/ksh93/sh/io.c
1a53a7
--- ksh-20120801/src/cmd/ksh93/sh/io.c.sufix	2014-04-08 14:30:14.412343555 +0200
1a53a7
+++ ksh-20120801/src/cmd/ksh93/sh/io.c	2014-04-08 14:31:18.403876587 +0200
1a53a7
@@ -2144,6 +2144,7 @@ static int	io_prompt(Shell_t *shp,Sfio_t
1a53a7
 			}
1a53a7
 #endif	/* TIOCLBIC */
1a53a7
 			cp = sh_mactry(shp,nv_getval(sh_scoped(shp,PS1NOD)));
1a53a7
+			shp->exitval = 0;
1a53a7
 			for(;c= *cp;cp++)
1a53a7
 			{
1a53a7
 				if(c==HIST_CHAR)