failing to create a mount point no longer results in an error since it's possible for this to be handled by certain mount utilities
SVN revision: 74559
This commit is contained in:
parent
244e5f7919
commit
ce53e4f2e0
|
@ -374,10 +374,7 @@ eeze_disk_mount(Eeze_Disk *disk)
|
||||||
{
|
{
|
||||||
INF("Creating not-existing mount point directory '%s'", disk->mount_point);
|
INF("Creating not-existing mount point directory '%s'", disk->mount_point);
|
||||||
if (mkdir(disk->mount_point, S_IROTH | S_IWOTH | S_IXOTH))
|
if (mkdir(disk->mount_point, S_IROTH | S_IWOTH | S_IXOTH))
|
||||||
{
|
ERR("Could not create directory: %s; hopefully this is handled by your mounter!", strerror(errno));
|
||||||
ERR("Could not create directory: %s", strerror(errno));
|
|
||||||
return EINA_FALSE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (!S_ISDIR(st.st_mode))
|
else if (!S_ISDIR(st.st_mode))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue