only print confusing error message on confusing errors

SVN revision: 72022
This commit is contained in:
Mike Blumenkrantz 2012-06-12 12:39:10 +00:00
parent 119b00b51f
commit a69db85b60
1 changed files with 1 additions and 0 deletions

View File

@ -420,6 +420,7 @@ _e_fm_main_udisks_cb_vol_prop(E_Volume *v,
/* skip volumes that aren't filesystems */
str = e_ukit_property_string_get(ret, "IdUsage", &err);
EINA_SAFETY_ON_TRUE_GOTO(err || (!str), error);
if (!str[0]) goto error; /* probably removal event */
if (strcmp(str, "filesystem"))
{
if (strcmp(str, "crypto"))