Blame SOURCES/ksh-20120801-sufix.patch

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