diff --git a/cmd/kpimon.go b/cmd/kpimon.go index 75f9301..edb1fbb 100644 --- a/cmd/kpimon.go +++ b/cmd/kpimon.go @@ -24,12 +24,13 @@ func main() { println(responseDeRegisterString) time.Sleep(5 * time.Second) + response, err := registerXApp() for true { registerXApp() } - response, err := registerXApp() + response, err = registerXApp() if err != nil { print("Error: " + err.Error())