cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=d8ed87b921b8bb583fb2ad5c4f64aee67dfbb21f
commit d8ed87b921b8bb583fb2ad5c4f64aee67dfbb21f Author: Jean Guyomarc'h <jean.guyoma...@openwide.fr> Date: Mon Oct 12 18:01:39 2015 +0200 config: add error messages when profile or config could not be saved. Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/elm_config.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index 82b8258..30032fc 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -3219,7 +3219,10 @@ elm_config_all_flush(void) } if (!_elm_config_profile_save()) - return; + { + ERR("Failed to save profile"); + return; + } buf[len] = '/'; len++; @@ -3242,7 +3245,10 @@ elm_config_all_flush(void) ok = eet_data_write(ef, _config_edd, "config", _elm_config, 1); if (!ok) - goto err; + { + ERR("Failed to write config (error %i)", ok); + goto err; + } err = _elm_config_eet_close_error_get(ef, buf2); if (err) --