From 33f15d9dd0d721840c5e132c94174f08f4924fe5 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 14 Dec 2021 13:36:25 -0600 Subject: [PATCH] gspawn: Improve error message when dup fails This error message is no longer accurate now that we allow arbitrary fd remapping. --- glib/gspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gspawn.c b/glib/gspawn.c index 2b191634c..9c65d9d92 100644 --- a/glib/gspawn.c +++ b/glib/gspawn.c @@ -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;