commit | 1e8c5b6aa043479499c7da928fde945832207894 | [log] [tgz] |
---|---|---|
author | Gabriele M <moto.falcon.git@gmail.com> | Wed Oct 11 12:55:51 2017 +0200 |
committer | Bruno Martins <bgcngm@gmail.com> | Sat Oct 14 22:55:22 2017 +0100 |
tree | 5079d719066dbe0ae3e6dfce66e12c0f2a38185a | |
parent | d5184413dead97ddb1a1f1423223a7c91cebbbf4 [diff] |
extract_utils: Allow to interrupt the extraction We want to cleanup our temporary files independently on the signal, so just execute a trap on 0. This will ensure temporary files are always removed and doesn't require any extra care when trapping signals such as SIGINT that require an explicit exit call. Change-Id: Ieff4f15c44a9ac9d5a543d14c140ebd72c0e7344