diff --git a/girepository.c b/girepository.c index 56c1e9952..540623ae4 100644 --- a/girepository.c +++ b/girepository.c @@ -1174,7 +1174,8 @@ g_irepository_introspect_cb (const char *option_name, gpointer data, GError **error) { - return g_irepository_dump (value, error); + gboolean ret = g_irepository_dump (value, error); + exit (ret ? 0 : 1); } static const GOptionEntry introspection_args[] = {