findRoots(): Don't censor for trusted users

They're pretty much root anyway.
This commit is contained in:
Eelco Dolstra 2019-03-14 13:52:13 +01:00
parent 53522cb6ac
commit 578ed7a259
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -475,7 +475,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
case wopFindRoots: {
logger->startWork();
Roots roots = store->findRoots(true);
Roots roots = store->findRoots(!trusted);
logger->stopWork();
size_t size = 0;