commit aea3c6027b4f05ba7585a0af4fe21715eebafee8
parent b808ca04d6628db2fe647b1d43b598217d14d686
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Fri, 9 Sep 2022 20:23:21 -0400
remove reserved word ‘function’
This is a bashism; the definition works fine w/o it.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditor/test-sync.sh b/src/auditor/test-sync.sh
@@ -3,13 +3,13 @@
set -eu
# Exit, with status code "skip" (no 'real' failure)
-function exit_skip() {
+exit_skip() {
echo $1
exit 77
}
# Exit, with error message (hard failure)
-function exit_fail() {
+exit_fail() {
echo $1
exit 1
}