loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp
changeset 31 ba1c4f4a893f
parent 0 08ec8eefde2f
child 45 cc28652e0254
child 51 7d4490026038
--- a/loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp	Thu Jul 01 17:02:22 2010 +0100
+++ b/loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp	Tue Jul 06 11:54:49 2010 +0100
@@ -133,7 +133,8 @@
 	// Check the entry exists on this drive (e.g. if we are running the log server
 	// from RAM, then default to the ROM if no RSC on the current drive exists).
 	TEntry fsEntry;
-	if	(iFsSession.Entry(fileName, fsEntry) == KErrNotFound)
+	TInt err = iFsSession.Entry(fileName, fsEntry);
+	if ( err == KErrNotFound || err == KErrPathNotFound )
 		{
 		// Switch to ROM (we might already have been launching from the ROM,
 		// in which case this will have no effect anyway).