fix(main.go): suppress banner in -shell-batch / -with-disk modes

This commit is contained in:
April Ayres-Griffiths 2024-05-25 09:22:40 -07:00
parent 583624a6f8
commit 6b8517efec

View File

@ -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 {