fsck: suppress "no problems found" when running quiet
Passing "-q" now disables the "fsck summary: no problems found\n" message.
This commit is contained in:
parent
52c9ff1ded
commit
283184dd5a
2
fsck.go
2
fsck.go
@ -171,7 +171,7 @@ func fsck(args *argContainer) {
|
||||
ck.dir("")
|
||||
wipeKeys()
|
||||
if len(ck.corruptList) == 0 {
|
||||
fmt.Printf("fsck summary: no problems found\n")
|
||||
tlog.Info.Printf("fsck summary: no problems found\n")
|
||||
return
|
||||
}
|
||||
fmt.Printf("fsck summary: %d corrupt files\n", len(ck.corruptList))
|
||||
|
Loading…
x
Reference in New Issue
Block a user