remove reserved word ‘function’

This is a bashism; the definition works fine w/o it.
This commit is contained in:
Thien-Thi Nguyen 2022-09-09 20:23:21 -04:00
parent b808ca04d6
commit aea3c6027b
No known key found for this signature in database
GPG Key ID: 670322244C807502

View File

@ -3,13 +3,13 @@
set -eu set -eu
# Exit, with status code "skip" (no 'real' failure) # Exit, with status code "skip" (no 'real' failure)
function exit_skip() { exit_skip() {
echo $1 echo $1
exit 77 exit 77
} }
# Exit, with error message (hard failure) # Exit, with error message (hard failure)
function exit_fail() { exit_fail() {
echo $1 echo $1
exit 1 exit 1
} }