mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +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_set_error (error,
|
||||||
G_SPAWN_ERROR,
|
G_SPAWN_ERROR,
|
||||||
G_SPAWN_ERROR_FAILED,
|
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]));
|
g_strerror (buf[1]));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user