diff --git a/src/compositor/plugins/default.c b/src/compositor/plugins/default.c index c89c84121..2a622f6f1 100644 --- a/src/compositor/plugins/default.c +++ b/src/compositor/plugins/default.c @@ -900,7 +900,7 @@ on_dialog_closed (GPid pid, MetaPlugin *plugin = user_data; gboolean ok; - ok = g_spawn_check_exit_status (status, NULL); + ok = g_spawn_check_wait_status (status, NULL); meta_plugin_complete_display_change (plugin, ok); }