Browse Source

Umount if failed?

master
Andrey Utkin 8 years ago
parent
commit
52c59e7ec6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/volume.c

+ 1
- 0
src/volume.c View File

@ -143,6 +143,7 @@ char *pusb_volume_get(t_pusb_options *opts, DBusConnection *dbus)
if (!mount_point)
{
log_error("Unable to retrieve %s mount point\n", volume_udi);
pusb_volume_destroy(mount_point);
return (NULL);
}
return (mount_point);


Loading…
Cancel
Save