mirror of
https://github.com/restic/restic.git
synced 2025-08-22 06:27:50 +00:00
backup: Fix shutdown hang when running in the background
On shutdown the backup commands waits for the terminal output goroutine to stop. However while running in the background the goroutine ignored the canceled context.
This commit is contained in:
8
changelog/unreleased/pull-3152
Normal file
8
changelog/unreleased/pull-3152
Normal 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
|
Reference in New Issue
Block a user