commit | 6c3c2c0bca9c88375a7117f4e8f48ac7c8c426e4 | [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 | 7f7427ee5ebac3c8b4f8cac4ba8b2315af45b91a | |
parent | 19ce2d3ad24a51e0497f086e6ca23acb323a1635 [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