diff --git a/subcommands/update.go b/subcommands/update.go index 1afce39..ba09eb4 100644 --- a/subcommands/update.go +++ b/subcommands/update.go @@ -29,6 +29,7 @@ func (c *UpdateCMD) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface } if newVersion == "" { logrus.Info("No Updates available.") + return 0 } logrus.Infof("Updating to %s", newVersion)