aboutsummaryrefslogtreecommitdiffstats
path: root/src/repository.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository.cpp')
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 18d145a..aef71a1 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -243,6 +243,6 @@ void Repository::Transaction::commit()
repository->fastImport.write("\n");
while (repository->fastImport.bytesToWrite())
- if (!repository->fastImport.waitForBytesWritten())
+ if (!repository->fastImport.waitForBytesWritten(-1))
qFatal("Failed to write to process: %s", qPrintable(repository->fastImport.errorString()));
}