diff --git a/utils/ipodpatcher/ipodio-posix.c b/utils/ipodpatcher/ipodio-posix.c index cf1b3ddb2c..a9e3eaf2d3 100644 --- a/utils/ipodpatcher/ipodio-posix.c +++ b/utils/ipodpatcher/ipodio-posix.c @@ -338,8 +338,7 @@ int ipod_open(struct ipod_t* ipod, int silent) int ipod_reopen_rw(struct ipod_t* ipod) { #if defined(__APPLE__) && defined(__MACH__) - if (ipod_unmount(ipod) < 0) - return -1; + ipod_unmount(ipod); #endif close(ipod->dh);