From 5ee932a124e169b5f1100d66edd67cfab9726cdd Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 10 Feb 2019 12:35:41 +0100 Subject: [PATCH] Add changelog for #2139 --- changelog/unreleased/pull-2139 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 changelog/unreleased/pull-2139 diff --git a/changelog/unreleased/pull-2139 b/changelog/unreleased/pull-2139 new file mode 100644 index 000000000..7371b7f3c --- /dev/null +++ b/changelog/unreleased/pull-2139 @@ -0,0 +1,8 @@ +Enhancement: Return error if no bytes could be read for `backup --stdin` + +When restic is used to backup the output of a program, like `mysqldump | restic +backup --stdin`, it now returns an error if no bytes could be read at all. This +catches the failure case when `mysqldump` failed for some reason and did not +output any data to stdout. + +https://github.com/restic/restic/pull/2139