From de9bc031dffa6a01b623ac596b4ddb8443514a2f Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Mon, 3 Oct 2022 15:24:24 +0200 Subject: [PATCH] add changelog for ls handling of missing snapshots --- changelog/unreleased/pull-3951 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/unreleased/pull-3951 diff --git a/changelog/unreleased/pull-3951 b/changelog/unreleased/pull-3951 new file mode 100644 index 000000000..db63b0b97 --- /dev/null +++ b/changelog/unreleased/pull-3951 @@ -0,0 +1,6 @@ +Bugfix: `ls` returns exit code 1 if snapshot cannot be loaded + +If the `ls` command failed to load a snapshot, it only printed a warning and +returned exit code 0. This has been changed to return exit code 1 instead. + +https://github.com/restic/restic/pull/3951