From 9d6aebeae3f87000589ddf18f0ac2f4d8d04f59e Mon Sep 17 00:00:00 2001 From: Stefan Haubold Date: Thu, 17 Aug 2023 15:04:41 +0200 Subject: Making printf formatted logging work --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index d42ba13..76535dd 100644 --- a/main.go +++ b/main.go @@ -432,7 +432,7 @@ func dead(r2p *r2pipe.Pipe, botid int) bool { status := r2cmd(r2p, "?v 1+theend") if status != "" && status != "0x1" { - logrus.Warn("[!] Bot %d has died", botid) + logrus.Warnf("[!] Bot %d has died", botid) return true } return false -- cgit 1.4.1