Commit 052010c7 authored by David Zeuthen's avatar David Zeuthen
Browse files

udisks2: also check for umount(8) saying "target is busy"

Same as http://cgit.freedesktop.org/udisks/commit/?id=d8fa361eec2706091e9d7f166f63bb5c0f663f4b

Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent 01161473
......@@ -846,7 +846,9 @@ umount_command_cb (GObject *source_object,
goto out;
}
if (standard_error != NULL && strstr (standard_error, "device is busy") != NULL)
if (standard_error != NULL &&
(strstr (standard_error, "device is busy") != NULL ||
strstr (standard_error, "target is busy") != NULL))
{
unmount_show_busy (data, data->mount->mount_path);
goto out;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment