diff options
| author | Emile <HanEmile@users.noreply.github.com> | 2023-08-23 15:51:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-23 15:51:26 +0200 |
| commit | 01c4b109bcd5ab0bf8646d9ab69aed892345cc7a (patch) | |
| tree | efe39dcc2aba386157fc6ba64f91a01f4f653ea4 | |
| parent | 5391fdcabaf3a93cf27323ca2adf286b432d3865 (diff) | |
| parent | 9d6aebeae3f87000589ddf18f0ac2f4d8d04f59e (diff) | |
Making printf formatted logging work
| -rw-r--r-- | main.go | 2 |
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 |
