mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
b41107dcaf
Signed-off-by: Brian Harring <ferringb@gmail.com>
9 lines
393 B
Text
9 lines
393 B
Text
Bugfix: Shutdown cleanly when SIGTERM is received
|
|
|
|
Prior, if restic received SIGTERM it'd just immediately terminate skipping
|
|
cleanup- resulting in potential issues like stale locks being left behind.
|
|
|
|
This primarily effected containerized restic invocations- they use SIGTERM-
|
|
but this could be triggered via a simple `killall restic` in addition.
|
|
|
|
https://github.com/restic/restic/pull/4703
|