mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-02 08:40:39 +00:00
fix version upgrade
This commit is contained in:
@@ -130,7 +130,7 @@ func Upgrade(restic bool) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if current.GT(latest) {
|
||||
if current.LT(latest) {
|
||||
downloadAndInstallAsset(body, "autorestic")
|
||||
colors.Success.Println("Updated autorestic")
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user