Compare commits

...

2 Commits

Author SHA1 Message Date
Romain de Laage
293b74c001
Merge cbe506b28a into 78b0db50e0 2023-03-25 07:10:06 +09:00
Romain de Laage
cbe506b28a
Use options on exec command 2022-11-07 08:09:45 +01:00

View File

@ -143,6 +143,7 @@ func (b Backend) Exec(args []string) error {
return err return err
} }
options := ExecuteOptions{Envs: env} options := ExecuteOptions{Envs: env}
args = append(args, combineBackendOptions("exec", b)...)
_, out, err := ExecuteResticCommand(options, args...) _, out, err := ExecuteResticCommand(options, args...)
if err != nil { if err != nil {
colors.Error.Println(out) colors.Error.Println(out)