mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-12-16 17:14:58 +00:00
Compare commits
3 Commits
bbd7ee83f9
...
e988de266b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e988de266b | ||
|
|
b3440cd87c | ||
|
|
4848702929 |
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.21-alpine as builder
|
FROM golang:1.22-alpine as builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY go.* .
|
COPY go.* .
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user