updated version

This commit is contained in:
0xdcarns 2021-10-02 08:54:46 -04:00
parent da26802865
commit 089f026080
2 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ func main() {
app := cli.NewApp() app := cli.NewApp()
app.Name = "Netclient CLI" app.Name = "Netclient CLI"
app.Usage = "Netmaker's netclient agent and CLI. Used to perform interactions with Netmaker server and set local WireGuard config." app.Usage = "Netmaker's netclient agent and CLI. Used to perform interactions with Netmaker server and set local WireGuard config."
app.Version = "v0.8.0" app.Version = "v0.8.1"
cliFlags := []cli.Flag{ cliFlags := []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{
@ -346,11 +346,11 @@ func main() {
if uspace == "wg" { if uspace == "wg" {
log.Println(err) log.Println(err)
log.Fatal("WireGuard not installed. Please install WireGuard (wireguard-tools) and try again.") log.Fatal("WireGuard not installed. Please install WireGuard (wireguard-tools) and try again.")
} }
ncutils.PrintLog("Running with userspace wireguard: "+uspace, 0) ncutils.PrintLog("Running with userspace wireguard: "+uspace, 0)
} else if uspace != "wg" { } else if uspace != "wg" {
log.Println("running userspace WireGuard with "+uspace ) log.Println("running userspace WireGuard with " + uspace)
} }
} }
if !ncutils.IsKernel() { if !ncutils.IsKernel() {
if !local.IsWGInstalled() { if !local.IsWGInstalled() {

View file

@ -73,7 +73,7 @@ func GetAPIConnString() string {
return conn return conn
} }
func GetVersion() string { func GetVersion() string {
version := "0.8.0" version := "0.8.1"
if config.Config.Server.Version != "" { if config.Config.Server.Version != "" {
version = config.Config.Server.Version version = config.Config.Server.Version
} }