summaryrefslogtreecommitdiff
path: root/monitor/udisks2/gvfsudisks2mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/udisks2/gvfsudisks2mount.c')
-rw-r--r--monitor/udisks2/gvfsudisks2mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c
index dced43a9..af91a38a 100644
--- a/monitor/udisks2/gvfsudisks2mount.c
+++ b/monitor/udisks2/gvfsudisks2mount.c
@@ -692,7 +692,7 @@ on_mount_op_reply (GMountOperation *mount_operation,
data->reply_result = result;
data->reply_choice = choice;
data->reply_set = TRUE;
- if (!data->completed || !data->in_progress)
+ if (!data->completed && !data->in_progress)
mount_op_reply_handle (data);
}