From cbe506b28aa67b60f423b51e70023094e438a528 Mon Sep 17 00:00:00 2001 From: Romain de Laage Date: Mon, 7 Nov 2022 08:09:45 +0100 Subject: [PATCH] Use options on exec command --- internal/backend.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/backend.go b/internal/backend.go index 0a3c177..1346093 100644 --- a/internal/backend.go +++ b/internal/backend.go @@ -143,6 +143,7 @@ func (b Backend) Exec(args []string) error { return err } options := ExecuteOptions{Envs: env} + args = append(args, combineBackendOptions("exec", b)...) _, out, err := ExecuteResticCommand(options, args...) if err != nil { colors.Error.Println(out)