Skip to content

debian: fix install-makemkv using exit instead of return#15

Merged
mapitman merged 1 commit intomainfrom
fix-debian
Mar 19, 2026
Merged

debian: fix install-makemkv using exit instead of return#15
mapitman merged 1 commit intomainfrom
fix-debian

Conversation

@mapitman
Copy link
Owner

When sourced into a shell, exit terminates the calling shell rather than just returning from the script. Replace all exit with return 1 in pushd/popd error handlers so a failure exits the script gracefully without closing the user's terminal.

When sourced into a shell, 'exit' terminates the calling shell rather
than just returning from the script. Replace all 'exit' with 'return 1'
in pushd/popd error handlers so a failure exits the script gracefully
without closing the user's terminal.
@mapitman mapitman merged commit e259b63 into main Mar 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant