dont try to update when none available
This commit is contained in:
parent
e46b2f104d
commit
c9ec06ab0c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue