Merge pull request #3894 from MichaelEischer/filter-mount-exit-code

Mount should return exit code 0 after pressing Ctrl-C
This commit is contained in:
Michael Eischer
2022-09-10 23:22:01 +02:00
committed by GitHub
7 changed files with 36 additions and 20 deletions

View File

@@ -0,0 +1,10 @@
Bugfix: Mount command should return exit code 0 after receiving Ctrl-C
To stop the mount command, a user has to press Ctrl-C or send a SIGINT to
restic. This caused restic to exit with a non-zero exit code.
We have changed the exit code to zero as this is the expected way to stop the
mount command.
https://github.com/restic/restic/issues/2015
https://github.com/restic/restic/pull/3894