mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02: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:
@@ -2363,7 +2363,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;
|
||||
|
Reference in New Issue
Block a user