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() }()