]> git.e2factory.org Git - e2factory.git/commit
e2lib: finish: if we received a signal, exit with the signal code
authorTobias Ulmer <tu@emlix.com>
Fri, 15 Feb 2019 10:42:08 +0000 (11:42 +0100)
committerTobias Ulmer <tu@emlix.com>
Fri, 15 Feb 2019 10:59:58 +0000 (11:59 +0100)
commit0041748cbf34dd4f9b26c16d313392e371476ec9
treef5eb56b58052a25c94c0525244fe3d605054c273
parent3e156774d7380d2375a62290133d79084d12505d
e2lib: finish: if we received a signal, exit with the signal code

Receiving a signal causes subsequent errors which hide the true cause
for termination. Make sure we always exit with 128 + signalno and let
the user know that above errors were caused by a signal.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua