mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-09 16:22:54 +02:00
and instead of or in postgres check
This commit is contained in:
parent
7e4e7ef753
commit
ce84de605d
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ void EmbeddedNetworkController::init(const Identity& signingId, Sender* sender)
|
|||
throw std::runtime_error("controller config required");
|
||||
}
|
||||
|
||||
if (_path.length() > 9 || (_path.substr(0, 9) != "postgres:")) {
|
||||
if (_path.length() > 9 && (_path.substr(0, 9) != "postgres:")) {
|
||||
throw std::runtime_error("central controller requires postgres db");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue