diff options
Diffstat (limited to 'execute_cmd.c')
-rw-r--r-- | execute_cmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/execute_cmd.c b/execute_cmd.c index 559de754..80274162 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -3990,13 +3990,11 @@ execute_cond_node (cond) else #endif /* COND_REGEXP */ { - int oe; - oe = extended_glob; extended_glob = 1; result = binary_test (cond->op->word, arg1, arg2, TEST_PATMATCH|TEST_ARITHEXP|TEST_LOCALE) ? EXECUTION_SUCCESS : EXECUTION_FAILURE; - extended_glob = oe; + extended_glob = extglob_flag; } if (arg1 != nullstr) free (arg1); |