Temporary solution for write-protected Android devices. Intention is to revert
in favor of a more permanent solution.
Review URL: https://codereview.appspot.com/6497132
git-svn-id: http://skia.googlecode.com/svn/trunk@5535
2bbb7eff-a529-9590-31e7-
b0007b416f81
str.printf("Could not open %s for writing.", *argv);
gLogger.logError(str);
usage(argv0);
- exit(-1);
+ // TODO(borenet): We're disabling this for now, due to
+ // write-protected Android devices. The very short-term
+ // solution is to ignore the fact that we have no log file.
+ //exit(-1);
}
} else {
gLogger.logError("Missing arg for --logFile\n");
} else if (0 == strcmp(*argv, "--device")) {
++argv;
if (argv >= stop) {
- gLogger.logError("Missing mode for --deivce\n");
+ gLogger.logError("Missing mode for --device\n");
usage(argv0);
exit(-1);
}