1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

updated self test initialization

This commit is contained in:
Bryan Roe
2021-02-11 18:36:45 -08:00
parent 1d91caad6f
commit 2d9697cbc4

View File

@@ -3962,7 +3962,7 @@ void MeshServer_Agent_SelfTest(MeshAgentHostContainer *agent)
}
printf(" -> Loading meshcore.js from db ........");
if (CoreModuleLen <= 4)
if (CoreModuleLen <= 4 && ILibSimpleDataStore_Get(agent->masterDb, "serviceName", NULL, 0) == 0)
{
printf("[NOT FOUND]\n");
return;