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