2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 13:17:42 +00:00

update comment

This commit is contained in:
Michael Eischer 2024-02-22 22:00:42 +01:00
parent b41107dcaf
commit 0a65a0f94f

View File

@ -56,7 +56,7 @@ func RunCleanupHandlers(code int) int {
return code return code
} }
// CleanupHandler handles the SIGINT signals. // CleanupHandler handles the SIGINT and SIGTERM signals.
func CleanupHandler(c <-chan os.Signal) { func CleanupHandler(c <-chan os.Signal) {
for s := range c { for s := range c {
debug.Log("signal %v received, cleaning up", s) debug.Log("signal %v received, cleaning up", s)