init.sh: ensure a more reliable exit status when exiting via trap
authorJim Meyering <meyering@redhat.com>
Wed, 28 Apr 2010 07:51:15 +0000 (09:51 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 28 Apr 2010 08:00:13 +0000 (10:00 +0200)
commit092a81622804491f13fb73f4df610db0db45b35a
tree5b8ec89bef631cbac063214c65686595dda2e9f6
parent393b9c0ba3fe7302f7baea6c8c2f68839f916c2c
init.sh: ensure a more reliable exit status when exiting via trap

* tests/init.sh (setup_): Don't rely on $? in signal handler.
Inspired by patches from Dmitry V. Levin.
Also trap on signal 3 (SIGQUIT).
ChangeLog
tests/init.sh