forked from enlightenment/enlightenment
only print confusing error message on confusing errors
SVN revision: 72022
This commit is contained in:
parent
119b00b51f
commit
a69db85b60
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue