summaryrefslogtreecommitdiff
path: root/daemon/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index db271dd3..41a4b0b7 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -419,7 +419,7 @@ child_watch_cb (GPid pid,
GError *error = NULL;
gint code = 0;
- if (!g_spawn_check_exit_status (status, &error))
+ if (!g_spawn_check_wait_status (status, &error))
{
if (error->domain == G_SPAWN_EXIT_ERROR)
code = error->code;