mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-12 12:14:06 +02: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:
@@ -547,6 +547,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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user