mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 11:20:50 +02:00
commit bash-20041202 snapshot
This commit is contained in:
@@ -807,6 +807,11 @@ run_return_trap ()
|
||||
{
|
||||
int old_exit_value;
|
||||
|
||||
#if 0
|
||||
if ((sigmodes[DEBUG_TRAP] & SIG_TRAPPED) && (sigmodes[DEBUG_TRAP] & SIG_INPROGRESS))
|
||||
return;
|
||||
#endif
|
||||
|
||||
if ((sigmodes[RETURN_TRAP] & SIG_TRAPPED) && ((sigmodes[RETURN_TRAP] & SIG_IGNORED) == 0) && (sigmodes[RETURN_TRAP] & SIG_INPROGRESS) == 0)
|
||||
{
|
||||
old_exit_value = last_command_exit_value;
|
||||
|
||||
Reference in New Issue
Block a user