aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/readpassword/passfile.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/readpassword/passfile.go b/internal/readpassword/passfile.go
index 60902b7..80bfdce 100644
--- a/internal/readpassword/passfile.go
+++ b/internal/readpassword/passfile.go
@@ -46,8 +46,7 @@ func readPassFile(passfile string) ([]byte, error) {
return nil, fmt.Errorf("fatal: passfile: max password length (%d bytes) exceeded", maxPasswordLen)
}
if len(lines) > 1 && len(lines[1]) > 0 {
- tlog.Warn.Printf("warning: passfile: ignoring trailing garbage (%d bytes) after first line",
- len(lines[1]))
+ tlog.Warn.Printf("warning: passfile: ignoring trailing garbage after first line")
}
return lines[0], nil
}