summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-01-14 15:53:53 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-01-14 15:53:53 +0100
commit6b84a60928fcdc57f035a22af783355a139b1819 (patch)
tree7511489947faaa87a4b02117a2149b10e2a82e8a /src
parent9ef32f1b59df32ec3c45e753f076c589920fe386 (diff)
elm_config: print an eror message if we fail to save the derived config profile
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_config.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index 647679d7a..113c92cc9 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -780,8 +780,15 @@ _elm_config_profile_derived_save(const char *profile, Elm_Config_Derived *derive
780 if (ef) 780 if (ef)
781 { 781 {
782 ret = eet_data_write(ef, _config_derived_edd, "config", derived, 1); 782 ret = eet_data_write(ef, _config_derived_edd, "config", derived, 1);
783 if (ret)
784 {
785 ecore_file_mv(buf, buf2);
786 }
787 else
788 {
789 ERR("Error saving Elementary's derived configuration profile file");
790 }
783 eet_close(ef); 791 eet_close(ef);
784 if (ret) ecore_file_mv(buf, buf2);
785 } 792 }
786} 793}
787 794