elm_config: print an eror message if we fail to save the derived config profile

This commit is contained in:
Stefan Schmidt 2016-01-14 15:53:53 +01:00
parent 8bf42c1830
commit 7ee4b458c6
1 changed files with 8 additions and 1 deletions

View File

@ -780,8 +780,15 @@ _elm_config_profile_derived_save(const char *profile, Elm_Config_Derived *derive
if (ef)
{
ret = eet_data_write(ef, _config_derived_edd, "config", derived, 1);
if (ret)
{
ecore_file_mv(buf, buf2);
}
else
{
ERR("Error saving Elementary's derived configuration profile file");
}
eet_close(ef);
if (ret) ecore_file_mv(buf, buf2);
}
}