ash: partially sync with dash on "fork if traps are set" logic
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 Oct 2016 10:55:09 +0000 (12:55 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 Oct 2016 10:55:09 +0000 (12:55 +0200)
commitb4f51d32d288a985019884d79515b1d7a8251529
treee39a0f9e90805e62998d8aedef3165eea5f950a1
parent2eb0a7e1b9a579ba34e4780c9ed8e74f38bc6b85
ash: partially sync with dash on "fork if traps are set" logic

Upstream commit "[EVAL] Force fork if any trap is set, not just on EXIT"
had a similar code as our fix to that bug.
Eliminate some superficial differences.

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