Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08b5578b authored by Felipe Leme's avatar Felipe Leme
Browse files

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
parent 9c5440cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -840,7 +840,7 @@ void dump_route_tables() {

/* 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) {