summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c
index af91a38a..29f2a3d5 100644
--- a/monitor/udisks2/gvfsudisks2mount.c
+++ b/monitor/udisks2/gvfsudisks2mount.c
@@ -601,7 +601,8 @@ unmount_data_complete (UnmountData *data,
gboolean complete_idle)
{
if (data->mount_operation &&
- !unmount_operation_is_eject (data->mount_operation))
+ !unmount_operation_is_eject (data->mount_operation) &&
+ !unmount_operation_is_stop (data->mount_operation))
gvfs_udisks2_unmount_notify_stop (data->mount_operation, data->failed);
if (complete_idle)