Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify documentation of die
Browse files Browse the repository at this point in the history
mernst committed Sep 5, 2024
1 parent 33bb1f6 commit 38cc0db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/test/test.include
Original file line number Diff line number Diff line change
@@ -65,7 +65,8 @@ print_result() {
printf "\n$text\n" 1>&2
}

# Print and log error message, and terminate script if HALT_ON_ERROR is set
# Print and log error message, and set ERROR.
# Terminate script if HALT_ON_ERROR is set.
# die <error_text>
die() {
echo "Error: $1" 1>&2

0 comments on commit 38cc0db

Please sign in to comment.