From e2d9900d826fb865c3d0af2ba8b386e36a22f4cc Mon Sep 17 00:00:00 2001
From: Alexander Neumann <alexander@bumpern.de>
Date: Sat, 8 Sep 2018 18:41:43 +0200
Subject: [PATCH] Add entry to CHANGELOG

---
 changelog/unreleased/issue-1978 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 changelog/unreleased/issue-1978

diff --git a/changelog/unreleased/issue-1978 b/changelog/unreleased/issue-1978
new file mode 100644
index 000000000..b3f5101ba
--- /dev/null
+++ b/changelog/unreleased/issue-1978
@@ -0,0 +1,12 @@
+Bugfix: Do not return an error when the scanner is faster than backup
+
+When restic makes a backup, there's a background task called "scanner" which
+collects information on how many files and directories are to be saved, in
+order to display progress information to the user. When the backup finishes
+faster than the scanner, it is aborted because the result is not needed any
+more. This logic contained a bug, where quitting the scanner process was
+treated as an error, and caused restic to print an unhelpful error message
+("context canceled").
+
+https://github.com/restic/restic/issues/1978
+https://github.com/restic/restic/pull/1991