ash: better handling of EXIT trap in trap
hack
function old new delta forkchild - 602 +602 trapcmd 255 347 +92 ash_main 1362 1375 +13 evalvar 1371 1373 +2 popstring 140 134 -6 forkshell 835 248 -587 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/2 up/down: 709/-593) Total: 116 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
trap -- 'echo Exiting' EXIT
|
||||
trap -- 'echo WINCH!' SIGWINCH
|
||||
trap -- 'echo Exiting' EXIT
|
||||
trap -- 'echo WINCH!' SIGWINCH
|
||||
trap -- 'echo Exiting' EXIT
|
||||
trap -- 'echo WINCH!' SIGWINCH
|
||||
Done
|
||||
Exiting
|
||||
|
Reference in New Issue
Block a user