Browse Source

ensure change source is controller if otherwise unset

Grant Limberg 2 weeks ago
parent
commit
76ba89060b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      nonfree/controller/CentralDB.cpp

+ 3 - 0
nonfree/controller/CentralDB.cpp

@@ -1188,6 +1188,9 @@ void CentralDB::commitThread()
 					if (! config["change_source"].is_null()) {
 						change_source = config["change_source"];
 					}
+					else {
+						change_source = "controller";
+					}
 					if (! isNewMember && change_source != "controller" && frontend != change_source) {
 						fprintf(
 							stderr, "skipping member %s-%s update.  change source: %s, frontend: %s\n",