From 70c6ee7ddb9aae90f105cc957aff71bf1ddff70c Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Fri, 29 Dec 2017 18:51:38 -0500 Subject: [PATCH] fixes --- ytsync.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ytsync.go b/ytsync.go index 9056da3..b084bf9 100644 --- a/ytsync.go +++ b/ytsync.go @@ -111,6 +111,7 @@ func (s *Sync) FullCycle() error { signal.Notify(interruptChan, os.Interrupt, syscall.SIGTERM) go func() { <-interruptChan + log.Println("Got interrupt signal. Will shut down after current publishes finish") s.stop.Stop() }()