diff --git a/backup/backup.go b/backup/backup.go index 29245d8..d420807 100644 --- a/backup/backup.go +++ b/backup/backup.go @@ -373,6 +373,8 @@ func Backup(pctx context.Context, jobInfo *files.JobInfo) error { case fileBuffer <- true: } case <-ctx.Done(): + log.AppLogger.Debugf("manifest copy: ctx.Done(): err = %v", ctx.Err()) + maniwg.Done() return ctx.Err() } }