Skip to content

Commit

Permalink
fix topaz install regression (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
gertd authored Dec 19, 2022
1 parent beb856d commit a233956
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cli/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ type InstallCmd struct {
}

func (cmd InstallCmd) Run(c *cc.CommonCtx) error {
if err := CheckRunning(c); err != nil {
return err
if err := CheckRunning(c); err == nil {
color.Yellow("!!! topaz is already running")
return nil
}

color.Green(">>> installing topaz...")
Expand Down

0 comments on commit a233956

Please sign in to comment.