ash: fix $! value when traps are set

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Alexander Shishkin
2010-07-25 13:07:39 +02:00
committed by Denys Vlasenko
parent 7a2ba329b9
commit ccb9771861
6 changed files with 41 additions and 2 deletions

View File

@@ -4633,6 +4633,7 @@ clear_traps(void)
INT_ON;
}
}
may_have_traps = 0;
}
/* Lives far away from here, needed for forkchild */