param_shmem: before saving update the param

This commit is contained in:
Julian Oes
2016-04-05 12:34:15 +02:00
parent 57c134a23d
commit 60d66dc23f
@@ -974,6 +974,9 @@ param_export(int fd, bool only_unsaved)
s->unsaved = false;
/* Make sure to get latest from shmem before saving. */
update_from_shmem(s->param, &s->val);
/* append the appropriate BSON type object */
switch (param_type(s->param)) {