mirror of
https://github.com/restic/restic.git
synced 2026-11-13 14:42:03 +00:00
Merge pull request #3602 from cqjjjzr/fix-rclone-sigint
fix: rclone receiving SIGINT prematurely on Windows causing restic hang forever (#3601)
This commit is contained in:
2 files changed
+15
No files matched your search
@@ -0,0 +1,11 @@
|
||||
Bugfix: Fix rclone backend prematurely exiting when receiving SIGINT on Windows
|
||||
|
||||
On Windows, Restic now start the rclone process detached from the
|
||||
restic console (similar to starting processes on a new process
|
||||
group on Linux). Therefore, when Ctrl+C is pressed on the console
|
||||
where restic runs, restic could gracefully clean up using clone,
|
||||
and rclone won't exit prematurely leading to restic hanging up with
|
||||
"stdio pipes closed" errors.
|
||||
|
||||
https://github.com/restic/restic/issue/3601
|
||||
https://github.com/restic/restic/pull/3602
|
||||
Reference in new issue
Block a user