mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 00:20:49 +02:00
commit bash-20090409 snapshot
This commit is contained in:
@@ -202,7 +202,7 @@ static int expr_depth; /* Location in the stack. */
|
||||
static int expr_stack_size; /* Number of slots already allocated. */
|
||||
|
||||
extern char *this_command_name;
|
||||
extern int unbound_vars_is_error;
|
||||
extern int unbound_vars_is_error, last_command_exit_value;
|
||||
|
||||
#if defined (ARRAY_VARS)
|
||||
extern const char * const bash_badsub_errmsg;
|
||||
@@ -923,6 +923,7 @@ expr_streval (tok, e)
|
||||
value = tok;
|
||||
#endif
|
||||
|
||||
last_command_exit_value = EXECUTION_FAILURE;
|
||||
err_unboundvar (value);
|
||||
|
||||
#if defined (ARRAY_VARS)
|
||||
|
||||
Reference in New Issue
Block a user