-
We were only checking WEXITSTATUS(), but this is broken in the case where !WIFEXITED(), for example WIFSIGNALED(). If available, use g_spawn_check_exit_status() from newer GLib which makes this easy. Also, use G_N_ELEMENTS() instead of hardcoding the length again. https://bugs.freedesktop.org/show_bug.cgi?id=55067
79d1fd52