mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 13:17:42 +00:00
update comment
This commit is contained in:
parent
b41107dcaf
commit
0a65a0f94f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user