Commit b1d12c33 authored by Christian Hergert's avatar Christian Hergert

subprocess: fix assertion now that additional FDs are allowed

Now that we can have additional FDs for passing to the host process, we
need to update our assertion for the FDList.

https://bugzilla.gnome.org/show_bug.cgi?id=779494
parent 6b37ca54
......@@ -1460,7 +1460,7 @@ ide_breakout_subprocess_initable_init (GInitable *initable,
* system. We need to ensure our fd_list is sent across for redirecting
* various standard streams.
*/
g_assert_cmpint (3, ==, g_unix_fd_list_get_length (fd_list));
g_assert_cmpint (g_unix_fd_list_get_length (fd_list), >=, 3);
params = g_variant_new ("(^ay^aay@a{uh}@a{ss}u)",
self->cwd ?: g_get_home_dir (),
self->argv,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment