This is really odd. The lava-create-master script is a /bin/sh script, not a /bin/bash script so the bash version is irrelevant, but even dash should support "trap EXIT" if I read its man page correctly (and my tests support this).
That said, I'd support landing this patch and/or converting the script to invoke /bin/bash instead.
This is really odd. The lava-create-master script is a /bin/sh script, not a /bin/bash script so the bash version is irrelevant, but even dash should support "trap EXIT" if I read its man page correctly (and my tests support this).
That said, I'd support landing this patch and/or converting the script to invoke /bin/bash instead.