From a69db85b6044b6c948fa2ba29707ea942923abba Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 12 Jun 2012 12:39:10 +0000 Subject: [PATCH] only print confusing error message on confusing errors SVN revision: 72022 --- src/bin/e_fm/e_fm_main_udisks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_fm/e_fm_main_udisks.c b/src/bin/e_fm/e_fm_main_udisks.c index 74fb352e3..df33aeda9 100644 --- a/src/bin/e_fm/e_fm_main_udisks.c +++ b/src/bin/e_fm/e_fm_main_udisks.c @@ -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"))