Do not create prop files for ctl.* properties
Change-Id: Ia6660c68c9e0cb89938751dbc0747ee038394778
This commit is contained in:
parent
0b40c13a5a
commit
21eadee6e9
@ -915,6 +915,16 @@ static bool initialize_properties() {
|
||||
free(prop_prefix);
|
||||
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(
|
||||
contexts, [context](context_node* l) { return !strcmp(l->context, context); });
|
||||
|
Loading…
x
Reference in New Issue
Block a user