Make some traces into a log, remove others

This commit is contained in:
Eugene Bujak
2018-11-28 13:21:39 +03:00
parent 70c5afd6a5
commit aa3f3e2c43
3 changed files with 9 additions and 3 deletions

1
app.go
View File

@@ -239,7 +239,6 @@ func askUsernamePasswordIfPossible() error {
_, err := os.Stat(configfile)
if !os.IsNotExist(err) {
// do nothing, file exists
trace("File %s exists, won't ask for password", configfile)
return nil
}
if !terminal.IsTerminal(int(os.Stdin.Fd())) {