mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-22 17:52:39 +00:00
Multiple traps overwrite each other. While no tpmr functions have more than one trap right now, it is fragile, and the quoting is complex due to double expansion. Use at_exit to add exit handlers that accumulate and do not require special quoting. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>