projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0c91e
)
discover: Display warning if saving config fails
author
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Thu, 29 Nov 2018 02:05:02 +0000
(13:05 +1100)
committer
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Thu, 29 Nov 2018 02:05:02 +0000
(13:05 +1100)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c
patch
|
blob
|
history
diff --git
a/discover/device-handler.c
b/discover/device-handler.c
index 271b9880b45d633f5013f2de11ec4c038f149e3b..729ed2c0f52ae76f9cbc7474cd803ed773bab3a6 100644
(file)
--- a/
discover/device-handler.c
+++ b/
discover/device-handler.c
@@
-1501,8
+1501,11
@@
void device_handler_update_config(struct device_handler *handler,
int rc;
rc = config_set(config);
- if (rc)
+ if (rc) {
+ device_handler_status_err(handler,
+ "Failed to update configuration!");
return;
+ }
discover_server_notify_config(handler->server, config);
device_handler_update_lang(config->lang);