diff -r 55a0a1279a7e -r 206a6eaaeb71 userlibandfileserver/fileserver/etshell/ts_edshl.cpp --- a/userlibandfileserver/fileserver/etshell/ts_edshl.cpp Wed Oct 13 13:34:03 2010 +0100 +++ b/userlibandfileserver/fileserver/etshell/ts_edshl.cpp Mon Oct 18 15:31:10 2010 +0100 @@ -1059,7 +1059,9 @@ readBuf.SetLength(r); readBuf.Trim(); - TheFs.SessionPath(currentPath); + r = TheFs.SessionPath(currentPath); + if(r!=KErrNone) + break; TheConsole->Printf(currentPath); TheConsole->Printf(_L(">%S\n"),&readBuf); @@ -1093,7 +1095,7 @@ file.Close(); - return KErrNone; + return r; }