From c7a8256beac8cc5ff3bb02ddb050fe54643d8c54 Mon Sep 17 00:00:00 2001 From: Johnathan Falk Date: Sun, 13 Nov 2022 10:58:50 -0500 Subject: [PATCH] fix(https://github.com/someone1/zfsbackup-go/pull/467): Added zfs command failed pr. Signed-off-by: Johnathan Falk --- backup/backup.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backup/backup.go b/backup/backup.go index 199c775..d588c9d 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() } }