Fix initial value of do_update_progress.
Since it was set to 1, dumpstate (and bugreport as well) would fail if
-o option was not set.
BUG: 25944860
Change-Id: Iafcb2bc6a4120ebff237f25a998a3c528d7bc1aa
diff --git a/cmds/dumpstate/utils.cpp b/cmds/dumpstate/utils.cpp
index 0958aef..8683155 100644
--- a/cmds/dumpstate/utils.cpp
+++ b/cmds/dumpstate/utils.cpp
@@ -840,7 +840,7 @@
/* overall progress */
int progress = 0;
-int do_update_progress = 1; // Set by dumpstate.cpp
+int do_update_progress = 0; // Set by dumpstate.cpp
// TODO: make this function thread safe if sections are generated in parallel.
void update_progress(int delta) {