From 1c63d08ed1ec52a250fdef98fdb8694cea685bf8 Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Thu, 19 Nov 2015 11:55:38 +0100 Subject: cmd/geth, cmd/utils: removed legalese Removed the legalese confirmation dialog. This closes #1992 --- cmd/utils/cmd.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cmd/utils/cmd.go') diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 9b75ccab4..5cbb58124 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -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. -- cgit