Skip to content

Commit

Permalink
Exit when checking version
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lefranc committed Mar 15, 2016
1 parent b4b5407 commit a49c78d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/tanji/mariadb-tools/dbhelper"
)

const repmgrVersion string = "0.6.0-9450672"
const repmgrVersion string = "0.6.1"

var (
hostList []string
Expand Down Expand Up @@ -111,6 +111,7 @@ func main() {
flag.Parse()
if version == true {
fmt.Println("MariaDB Replication Manager version", repmgrVersion)
os.Exit(0)
}
if logfile != "" {
var err error
Expand Down

0 comments on commit a49c78d

Please sign in to comment.