mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Merge branch 'mcatanzaro/gspawn-close' into 'main'
gspawn: close child_err_report_fd before exiting on error See merge request GNOME/glib!4227
This commit is contained in:
commit
8fdb8c44c3
@ -546,6 +546,8 @@ write_err_and_exit (gint fd, gint msg)
|
||||
|
||||
write_all (fd, &msg, sizeof(msg));
|
||||
write_all (fd, &en, sizeof(en));
|
||||
|
||||
close (fd);
|
||||
|
||||
_exit (1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user