summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-06 00:30:54 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-06 00:30:54 +0200
commit40821cbef30c24a068b1654b64db1a1e33cea704 (patch)
tree9d2c6533f246f6f1c7f8553f22998da0509139fc
parentca9e51ce0729b25618b5479a2e915bec57a45769 (diff)
Fix thinko in progress reporting.
-rw-r--r--src/lib/copy_to_drive_job.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/copy_to_drive_job.cc b/src/lib/copy_to_drive_job.cc
index f7a5dfd11..b7bb5a60d 100644
--- a/src/lib/copy_to_drive_job.cc
+++ b/src/lib/copy_to_drive_job.cc
@@ -67,8 +67,8 @@ CopyToDriveJob::run ()
throw CopyError ("Could not communicate with writer process", 0);
}
+ bool formatting = false;
while (true) {
- bool formatting = false;
string s = _nanomsg.blocking_get ();
if (s == DISK_WRITER_OK) {
set_state (FINISHED_OK);