cmd/geth, cmd/utils: removed legalese

Removed the legalese confirmation dialog. This closes #1992
This commit is contained in:
Jeffrey Wilcke
2015-11-19 11:55:38 +01:00
parent ae37a8013d
commit 1c63d08ed1
3 changed files with 0 additions and 77 deletions

View File

@@ -95,16 +95,6 @@ func PromptPassword(prompt string, warnTerm bool) (string, error) {
return input, err
}
func CheckLegalese(datadir string) {
// check "first run"
if !common.FileExist(datadir) {
r, _ := PromptConfirm(legalese)
if !r {
Fatalf("Must accept to continue. Shutting down...\n")
}
}
}
// Fatalf formats a message to standard error and exits the program.
// The message is also printed to standard output if standard error
// is redirected to a different file.