Remove a useless logging line

This commit is contained in:
James Mills 2022-03-17 12:47:57 +10:00
parent 4ba7b2d97d
commit d625ee1fc3
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -54,7 +54,6 @@ func publish(client *client.Client, topic, message string) {
}
if message == "" || message == "-" {
log.Printf("Reading message from stdin...\n")
buf, err := ioutil.ReadAll(os.Stdin)
if err != nil {
log.Fatalf("error reading message from stdin: %s", err)