Report a couple of options that are incompatible with --awsvpc

This commit is contained in:
Bryan Boreham committed 2016-06-13 16:53:27 +01:00
1 parent 7a1bd27a58
commit b32da8d69f
2 files changed
+8

No files matched your search

+4
View File
@@ -268,6 +268,10 @@ func main() {
config.TrustedSubnets = parseTrustedSubnets(trustedSubnetStr)
config.PeerDiscovery = !noDiscovery
if isAWSVPC && len(config.Password) > 0 {
Log.Fatalf("--awsvpc mode is not compatible with the --password option")
}
db, err := db.NewBoltDB(dbPrefix + "data.db")
checkFatal(err)
defer db.Close()