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:
Michael Catanzaro
2021-10-14 10:43:52 -05:00
parent ecde1b75d0
commit 1e1002469c

View File

@@ -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;