diff -r 849a0b46c767 -r dc41da2f70a4 libraries/iosrv/client/client_command.cpp --- a/libraries/iosrv/client/client_command.cpp Sun Oct 17 18:43:12 2010 +0100 +++ b/libraries/iosrv/client/client_command.cpp Thu Oct 21 22:32:59 2010 +0100 @@ -331,7 +331,7 @@ LeaveIfErr(iPcons.AttachWriter(iServerReadPipe, RIoPersistentConsole::EDetachOnHandleClose), _L("Cannot connect writer to persistent console %S"), &iPersistentConsoleName); iServerReader = CServerReader::NewL(iServerReadHandle, *this); - if (iServerProcess.Process().Handle() != KNullHandle && iServerProcess.Process().Handle() != RProcess().Handle()) + if (iServerProcess.Process().Handle() != KNullHandle) { // We created a new server process, but it's not yet been resumed. iServerProcess.Detach(); // Note, iServerWatch has already logged onto the process so there's no need to use RChildProcess::Run.