|
@@ -539,7 +539,7 @@ begin
|
|
Result := fpSystemStatus('pumount ' + Drive^.DeviceId) = 0;
|
|
Result := fpSystemStatus('pumount ' + Drive^.DeviceId) = 0;
|
|
if not Result then
|
|
if not Result then
|
|
{$ELSEIF DEFINED(DARWIN)}
|
|
{$ELSEIF DEFINED(DARWIN)}
|
|
- Result := fpSystemStatus('diskutil unmount ' + Drive^.DeviceId) = 0;
|
|
|
|
|
|
+ Result := fpSystemStatus('diskutil unmount ' + Drive^.Path) = 0;
|
|
if not Result then
|
|
if not Result then
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
Result := fpSystemStatus('umount ' + Drive^.Path) = 0;
|
|
Result := fpSystemStatus('umount ' + Drive^.Path) = 0;
|