add arm for darwin

This commit is contained in:
2021-04-26 13:15:58 +02:00
parent 70eb9e441f
commit 33319a00ef
3 changed files with 7 additions and 3 deletions

View File

@@ -120,7 +120,9 @@ func upgradeRestic() error {
func Upgrade(restic bool) error {
// Upgrade restic
if restic {
InstallRestic()
if err := InstallRestic(); err != nil {
colors.Error.Println(err)
}
upgradeRestic()
}