loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp
changeset 41 3256212fc81f
parent 0 08ec8eefde2f
child 45 cc28652e0254
child 51 7d4490026038
--- a/loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp	Tue Jul 06 16:18:30 2010 +0300
+++ b/loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp	Wed Aug 18 11:30:17 2010 +0300
@@ -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).