mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
gspawn: Improve error message when dup fails
This error message is no longer accurate now that we allow arbitrary fd remapping.
This commit is contained in:
parent
ac8d1aa247
commit
33f15d9dd0
@ -2451,7 +2451,7 @@ fork_exec (gboolean intermediate_child,
|
||||
g_set_error (error,
|
||||
G_SPAWN_ERROR,
|
||||
G_SPAWN_ERROR_FAILED,
|
||||
_("Failed to redirect output or input of child process (%s)"),
|
||||
_("Failed to duplicate file descriptor for child process (%s)"),
|
||||
g_strerror (buf[1]));
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user