From 513cc912cee24411a1f0eb854755355ad4581043 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Tue, 5 Apr 2022 17:12:45 -0500 Subject: [PATCH] :bug: Replace --wrap flag with -w to fix error when Pod has Busybox --- cmd/dump/dump.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dump/dump.go b/cmd/dump/dump.go index 4d82499b..da9850fa 100644 --- a/cmd/dump/dump.go +++ b/cmd/dump/dump.go @@ -214,6 +214,6 @@ func buildCommand(db config.Databaser, conf config.Dump) *command.Builder { cmd.Push(command.Raw("|"), "gzip", "--force") } // base64 is required since TTYs use CRLF - cmd.Push(command.Raw("|"), "base64", "--wrap=0") + cmd.Push(command.Raw("|"), "base64", "-w0") return cmd }