mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 06:30:50 +02:00
Bash-5.2 patch 32: fix printing coprocs when the coproc does not have a name
This commit is contained in:
+3
-1
@@ -356,7 +356,9 @@ make_command_string_internal (command)
|
||||
break;
|
||||
|
||||
case cm_coproc:
|
||||
cprintf ("coproc %s ", command->value.Coproc->name);
|
||||
cprintf ("coproc ");
|
||||
if (command->value.Coproc->command->type != cm_simple)
|
||||
cprintf ("%s ", command->value.Coproc->name);
|
||||
skip_this_indent++;
|
||||
make_command_string_internal (command->value.Coproc->command);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user