about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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