From 6b8517efeca5123272970c2ac96ec9076c24b5fe Mon Sep 17 00:00:00 2001 From: April Ayres-Griffiths Date: Sat, 25 May 2024 09:22:40 -0700 Subject: [PATCH] fix(main.go): suppress banner in -shell-batch / -with-disk modes --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 339e666..0bdcdb3 100644 --- a/main.go +++ b/main.go @@ -100,12 +100,12 @@ func main() { runtime.GOMAXPROCS(8) - banner() - - //l.Default.Level = l.LevelCrit - flag.Parse() + if *withDisk == "" && *shellBatch == "" { + banner() + } + var filterpath []string if *filterPath || *shell {