stream the output (#186)

This commit is contained in:
2022-04-27 00:21:06 +02:00
committed by GitHub
parent ff2e3714d1
commit 38e0f228d1
4 changed files with 32 additions and 32 deletions

View File

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