error codes

This commit is contained in:
2022-04-12 21:37:35 +02:00
parent 4839c013b9
commit fe6c6f2373
5 changed files with 38 additions and 27 deletions

View File

@@ -128,7 +128,7 @@ func InstallRestic() error {
}
func upgradeRestic() error {
out, err := internal.ExecuteCommand(internal.ExecuteOptions{
_, out, err := internal.ExecuteCommand(internal.ExecuteOptions{
Command: "restic",
}, "self-update")
colors.Faint.Println(out)