aboutsummaryrefslogtreecommitdiff
path: root/fsck.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-06-27 22:17:41 +0200
committerJakob Unterwurzacher2018-07-01 20:56:22 +0200
commit283184dd5aed89b19c15cbc9ca9ec23d96784049 (patch)
treeb8381f1ec293dc4f1d548dfb597c62c73764913f /fsck.go
parent52c9ff1ded6860771b31278444d5e09d17bbf522 (diff)
fsck: suppress "no problems found" when running quiet
Passing "-q" now disables the "fsck summary: no problems found\n" message.
Diffstat (limited to 'fsck.go')
-rw-r--r--fsck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck.go b/fsck.go
index d1dc7e5..9f735f2 100644
--- a/fsck.go
+++ b/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))