From e92c7024024652a17594999d22820fcb062a0b4a Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 24 Sep 2023 14:19:11 -0700 Subject: [PATCH] Another exclusion for presaving --- client/cmd/saveHistoryEntry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmd/saveHistoryEntry.go b/client/cmd/saveHistoryEntry.go index 2af77bb..90dfe6c 100644 --- a/client/cmd/saveHistoryEntry.go +++ b/client/cmd/saveHistoryEntry.go @@ -155,7 +155,7 @@ func presaveHistoryEntry(ctx context.Context) { entry.EndTime = time.Unix(0, 0).UTC() // Skip saving references to presaving - if strings.Contains(entry.Command, "presaveHistoryEntry") { + if strings.Contains(entry.Command, "presaveHistoryEntry") || strings.Contains(entry.Command, "__history_control_r") { return }