diff --git a/mqtt_client.go b/mqtt_client.go index 0dc0239..2eb6001 100644 --- a/mqtt_client.go +++ b/mqtt_client.go @@ -296,7 +296,6 @@ func main() { log.Printf("Subscribed to topic: %s", topic) } - // Keep the program running sigChan := make(chan os.Signal, 1) <-sigChan }