about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Haubold <soph@github.com>2023-08-17 15:04:41 +0200
committerGitHub <noreply@github.com>2023-08-17 15:04:41 +0200
commit9d6aebeae3f87000589ddf18f0ac2f4d8d04f59e (patch)
treeefe39dcc2aba386157fc6ba64f91a01f4f653ea4
parent5391fdcabaf3a93cf27323ca2adf286b432d3865 (diff)
Making printf formatted logging work
-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