Index: testing/iossim/iossim.mm |
diff --git a/testing/iossim/iossim.mm b/testing/iossim/iossim.mm |
index f5b5fd764b75aa7b3ed211dfd5084c948cbf85a6..2cef4f36badf8c500ca3c0c5b9c6c86736832ba7 100644 |
--- a/testing/iossim/iossim.mm |
+++ b/testing/iossim/iossim.mm |
@@ -212,7 +212,7 @@ void LogWarning(NSString* format, ...) { |
// account for this case, check if the simulated app's stdio file was |
// ever created and if it exists dump it to stdout and return success. |
NSFileManager* fileManager = [NSFileManager defaultManager]; |
- if ([fileManager fileExistsAtPath:stdioPath_ isDirectory:NO]) { |
+ if ([fileManager fileExistsAtPath:stdioPath_]) { |
appRunning_ = NO; |
[self tailOutput]; |
// Note that exiting in this state leaves a process running |