commit bash-20081016 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:30:34 -05:00
parent 3abf178f91
commit f2f9854dfd
15 changed files with 161 additions and 46 deletions
+2 -2
View File
@@ -2172,7 +2172,7 @@ execute_for_command (for_command)
{
if (posixly_correct && interactive_shell == 0)
{
last_command_exit_value = EX_USAGE;
last_command_exit_value = EX_BADUSAGE;
jump_to_top_level (ERREXIT);
}
return (EXECUTION_FAILURE);
@@ -4698,7 +4698,7 @@ execute_intern_function (name, function)
{
if (posixly_correct && interactive_shell == 0)
{
last_command_exit_value = EX_USAGE;
last_command_exit_value = EX_BADUSAGE;
jump_to_top_level (ERREXIT);
}
return (EXECUTION_FAILURE);