YunoHost / package_check

Shell script which check package actions: install, remove, upgrade, backup, restore…
GNU General Public License v3.0
21 stars 26 forks source link

disable trap SIGINT in cleanup #102

Closed kay0u closed 3 years ago

kay0u commented 3 years ago

When I try to stop the tests, I mash ctrl + c until package_check ends (otherwise it will start the following test). But the cleanup function stop running because of that. I think we can disable ctrl+c signal (SIGINT) during the cleanup function