cmd/puppeth: fix dbdir

This commit is contained in:
rjl493456442 2019-03-05 15:49:59 +08:00 committed by Péter Szilágyi
parent 4fe257462b
commit fd6c04d78c
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D

View file

@ -80,7 +80,7 @@ func (w *wizard) deployExplorer() {
infos.dbdir = w.readString()
} else {
fmt.Printf("Where should postgres data be stored on the remote machine? (default = %s)\n", infos.dbdir)
infos.dbdir = w.readDefaultString(infos.datadir)
infos.dbdir = w.readDefaultString(infos.dbdir)
}
// Figure out which port to listen on
fmt.Println()