Merge pull request #3152 from MichaelEischer/fix-backup-background-hang

backup: Fix shutdown hang when running in the background on linux
This commit is contained in:
Alexander Neumann
2020-12-06 21:16:00 +01:00
committed by GitHub
2 changed files with 10 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
Bugfix: On Linux `backup` hangs during exit when run as a background job
On Linux, when running in the background restic failed to stop the terminal
output of the `backup` command after it had completed. This caused restic to
hang until moved to the foreground. This has been fixed.
https://github.com/restic/restic/pull/3152
https://forum.restic.net/t/restic-alpine-container-cron-hangs-epoll-pwait/3334