hush: fix a case where EXIT trap may modify its code mid-flight
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Jan 2018 15:58:44 +0000 (16:58 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Jan 2018 15:58:44 +0000 (16:58 +0100)
commit46f839c3f7476cb9016c4787729f64a2c24509d1
tree86fc669084f4f0c8ecff60fcd3a6b11f39c5efed
parentb8d076b00bad9da87e6dcaf4f36dfd06e2d2e5e8
hush: fix a case where EXIT trap may modify its code mid-flight

function                                             old     new   delta
hush_exit                                             93      99      +6

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c