Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set trap only after option parsing (openSUSE#22)
If we set the cleanup function for every exit, even a simple "toolbox -h" will run the cleanup function. But since there is nothing to cleanup, this will lead to a wrong error exit code.
- Loading branch information