aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 24c47992e3..13024633ab 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1311,7 +1311,9 @@ int dm_main();
int dm_main() {
setup_crash_handler();
- if (!FLAGS_writePath.isEmpty()) {
+ if (FLAGS_verbose) {
+ gVLog = stderr;
+ } else if (!FLAGS_writePath.isEmpty()) {
sk_mkdir(FLAGS_writePath[0]);
gVLog = freopen(SkOSPath::Join(FLAGS_writePath[0], "verbose.log").c_str(), "w", stderr);
}