Make read-only guarantee user-settable
[petitboot] / lib / pb-config / pb-config.c
index 98a6078bc552bb19f6a95d841ba2dd13024807f2..8200883a4a5d8ddd44bf593e6b60c0d24e441b00 100644 (file)
@@ -77,6 +77,8 @@ struct config *config_copy(void *ctx, const struct config *src)
        dest->ipmi_bootdev = src->ipmi_bootdev;
        dest->ipmi_bootdev_persistent = src->ipmi_bootdev_persistent;
 
+       dest->allow_writes = src->allow_writes;
+
        if (src->lang && strlen(src->lang))
                dest->lang = talloc_strdup(dest, src->lang);
        else