diff options
Diffstat (limited to 'migration.c')
-rw-r--r-- | migration.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/migration.c b/migration.c index 7ae1d939d6..17eb27d199 100644 --- a/migration.c +++ b/migration.c @@ -757,7 +757,8 @@ static void *buffered_file_thread(void *opaque) /* usleep expects microseconds */ g_usleep((initial_time + BUFFER_DELAY - current_time)*1000); } - if (buffered_flush(s) < 0) { + ret = buffered_flush(s); + if (ret < 0) { break; } |