Merge "Do not create prop files for ctl.* properties"
This commit is contained in:
commit
4ade5195f1
@ -915,6 +915,16 @@ static bool initialize_properties() {
|
|||||||
free(prop_prefix);
|
free(prop_prefix);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* init uses ctl.* properties as an IPC mechanism and does not write them
|
||||||
|
* to a property file, therefore we do not need to create property files
|
||||||
|
* to store them.
|
||||||
|
*/
|
||||||
|
if (!strncmp(prop_prefix, "ctl.", 4)) {
|
||||||
|
free(prop_prefix);
|
||||||
|
free(context);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
auto old_context = list_find(
|
auto old_context = list_find(
|
||||||
contexts, [context](context_node* l) { return !strcmp(l->context, context); });
|
contexts, [context](context_node* l) { return !strcmp(l->context, context); });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user