Patch: fix umount.hal return code

Frederic Crozat fcrozat at mandriva.com
Thu Mar 22 12:31:55 PDT 2007


Hi,

umount.hal is trying to check a reply from Unmount dbus message (which
is incorrectl since this message doesn't have a return value). This is
causing umount.hal to always return 1, event when umount was successful.

By cascading effect, umount will return 1 and it breaks eject (for
instance) and probably other tools relying on umount error code.

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-0.5.9-fixretval.patch
Type: text/x-patch
Size: 907 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070322/b4c8f983/hal-0.5.9-fixretval.bin


More information about the hal mailing list