mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 20:52:51 +00:00
9b004cc787
The RETURN trap installed inside perform_update is shell-global and was left installed after the function returned. It fired again when a later function returned, expanding the now out-of-scope local installer_tmp/signature_tmp under set -u, so pulse-update.service reported a successful install as failed with 'installer_tmp: unbound variable' (#2128). Clear the trap as it runs and cover it with a regression test. Change-source: pulse-maintainer