aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-11-19 22:29:49 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-11-19 22:29:49 +0800
commit4c2933ad825aa11ce118abddfe6eeafc0422b2b6 (patch)
treef9e5d536a091f2bd2213fbdf865056e209334c29 /cmd/utils/cmd.go
parent7399b138a8bbe017645f29ebe269d47095c6e416 (diff)
parent1c63d08ed1ec52a250fdef98fdb8694cea685bf8 (diff)
downloaddexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.tar
dexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.tar.gz
dexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.tar.bz2
dexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.tar.lz
dexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.tar.xz
dexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.tar.zst
dexon-4c2933ad825aa11ce118abddfe6eeafc0422b2b6.zip
Merge pull request #1993 from obscuren/remove-legalese
cmd/geth, cmd/utils: removed legalese
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.