about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <HanEmile@users.noreply.github.com>2023-08-23 15:51:26 +0200
committerGitHub <noreply@github.com>2023-08-23 15:51:26 +0200
commit01c4b109bcd5ab0bf8646d9ab69aed892345cc7a (patch)
treeefe39dcc2aba386157fc6ba64f91a01f4f653ea4
parent5391fdcabaf3a93cf27323ca2adf286b432d3865 (diff)
parent9d6aebeae3f87000589ddf18f0ac2f4d8d04f59e (diff)
Merge pull request #5 from Soph/cccamp23 HEAD cccamp23
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