mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-30 03:37:47 +01:00
Bash-5.2 patch 32: fix printing coprocs when the coproc does not have a name
This commit is contained in:
1 parent
471fd9a3f0
commit
142bbdd89e
2 files changed
+4
-2
No files matched your search
+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