forgot a safety check here

SVN revision: 56873
This commit is contained in:
Mike Blumenkrantz 2011-02-09 20:38:09 +00:00
parent 0bee0601e1
commit 5feb32f820
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ eeze_disk_mount(Eeze_Disk *disk)
return EINA_FALSE;
}
if ((!disk->mount_point) || (!disk->mount_point[0])) return EINA_FALSE;
eina_strbuf_append_printf(disk->mount_cmd, "%s -o %s UUID=%s %s", EEZE_MOUNT_BIN, EEZE_MOUNT_DEFAULT_OPTS, disk->cache.uuid, disk->mount_point);
disk->mount_cmd_changed = EINA_FALSE;
}