aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-11-19 18:55:38 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-11-19 19:03:33 +0800
commit1c63d08ed1ec52a250fdef98fdb8694cea685bf8 (patch)
tree96f785594b86850b53ce3a41181fd0af1b43dd3a /cmd/utils/cmd.go
parentae37a8013d5a348bdb21d4a66d5f462e0baf7cd8 (diff)
downloadgo-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.tar
go-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.tar.gz
go-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.tar.bz2
go-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.tar.lz
go-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.tar.xz
go-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.tar.zst
go-tangerine-1c63d08ed1ec52a250fdef98fdb8694cea685bf8.zip
cmd/geth, cmd/utils: removed legalese
Removed the legalese confirmation dialog. This closes #1992
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r--cmd/utils/cmd.go10
1 files changed, 0 insertions, 10 deletions
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.