-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap is to avoid annoyingly closing a user's shell if there is an issue. The error message will still be the last line and user gets their shell back.
- Loading branch information
1 parent
4ba381f
commit 057d3f6
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
057d3f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmm, do these want to be returns or exits? Cursory googling suggests exit is the appropriate one, but might be too cursory: https://stackoverflow.com/questions/4419952/difference-between-return-and-exit-in-bash-functions