setup: exit setup script correctly regardless of how it was called
Add helper function to detect whether script was executed or sourced and choose the correct exit strategy.
Hi all, Gitlab will be set in maintenance mode on Friday 29/11/2024 from 08:45 AM CET with the intention of finishing by the 10:45 PM CET of Friday 29/11/2024
Add helper function to detect whether script was executed or sourced and choose the correct exit strategy.