Add debug option to serv to help debug problems (#9492)

* Add debug option to serv to help debug problems

* fixup! Add debug option to serv to help debug problems
This commit is contained in:
zeripath 2019-12-25 15:44:57 +00:00 committed by Lunny Xiao
parent 8b2f29c0d2
commit 3e166bd055
3 changed files with 15 additions and 7 deletions

View file

@ -62,7 +62,7 @@ func runKeys(c *cli.Context) error {
return errors.New("No key type and content provided")
}
setup("keys.log")
setup("keys.log", false)
authorizedString, err := private.AuthorizedPublicKeyByContent(content)
if err != nil {