summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monitor/udisks2/gvfsudisks2mount.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c
index 5037d73a..6decc192 100644
--- a/monitor/udisks2/gvfsudisks2mount.c
+++ b/monitor/udisks2/gvfsudisks2mount.c
@@ -845,7 +845,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;