This commit is contained in:
Mislav Marohnić 2020-10-16 14:07:01 +00:00 committed by GitHub
parent 49378fb60f
commit 7660b66c6c

View file

@ -229,7 +229,7 @@ func gardenRun(opts *GardenOptions) error {
c := make(chan os.Signal)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
go func(){
go func() {
<-c
walkAway()
os.Exit(0)