discover: Only update our config if the config_set succeeded.
[petitboot] / lib / fold /
drwxr-xr-x   ..
-rw-r--r-- 828 fold.c
-rw-r--r-- 893 fold.h