mirror of
https://github.com/paleotronic/diskm8.git
synced 2024-09-27 14:58:02 +00:00
fix(main.go): suppress banner in -shell-batch / -with-disk modes
This commit is contained in:
parent
583624a6f8
commit
6b8517efec
8
main.go
8
main.go
@ -100,12 +100,12 @@ func main() {
|
|||||||
|
|
||||||
runtime.GOMAXPROCS(8)
|
runtime.GOMAXPROCS(8)
|
||||||
|
|
||||||
banner()
|
|
||||||
|
|
||||||
//l.Default.Level = l.LevelCrit
|
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
if *withDisk == "" && *shellBatch == "" {
|
||||||
|
banner()
|
||||||
|
}
|
||||||
|
|
||||||
var filterpath []string
|
var filterpath []string
|
||||||
|
|
||||||
if *filterPath || *shell {
|
if *filterPath || *shell {
|
||||||
|
Loading…
Reference in New Issue
Block a user