Report a couple of options that are incompatible with --awsvpc
This commit is contained in:
1 parent
7a1bd27a58
commit
b32da8d69f
2 files changed
+8
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user