commit bash-20150102 snapshot

This commit is contained in:
Chet Ramey
2015-01-12 11:03:15 -05:00
parent 02a413f643
commit 8f50a0236c
64 changed files with 29713 additions and 1770 deletions
+9 -3
View File
@@ -2618,10 +2618,16 @@ execute_connection (command, asynchronous, pipe_in, pipe_out, fds_to_close)
((command->value.Connection->connector == OR_OR) &&
(exec_result != EXECUTION_SUCCESS)))
{
if (ignore_return && command->value.Connection->second)
command->value.Connection->second->flags |= CMD_IGNORE_RETURN;
second = command->value.Connection->second;
if (ignore_return && second)
second->flags |= CMD_IGNORE_RETURN;
if (should_suppress_fork (second))
{
second->flags |= CMD_NO_FORK;
second->value.Simple->flags |= CMD_NO_FORK;
}
exec_result = execute_command (command->value.Connection->second);
exec_result = execute_command (second);
}
executing_list--;
break;