summaryrefslogtreecommitdiff
path: root/src/auditor/test-sync.sh
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2022-09-09 20:23:21 -0400
committerThien-Thi Nguyen <ttn@gnuvola.org>2022-09-09 20:23:21 -0400
commitaea3c6027b4f05ba7585a0af4fe21715eebafee8 (patch)
tree697c0f5f8859de482f9eaa552669052349feaa76 /src/auditor/test-sync.sh
parentb808ca04d6628db2fe647b1d43b598217d14d686 (diff)
downloadexchange-aea3c6027b4f05ba7585a0af4fe21715eebafee8.tar.gz
exchange-aea3c6027b4f05ba7585a0af4fe21715eebafee8.tar.bz2
exchange-aea3c6027b4f05ba7585a0af4fe21715eebafee8.zip
remove reserved word ‘function’
This is a bashism; the definition works fine w/o it.
Diffstat (limited to 'src/auditor/test-sync.sh')
-rwxr-xr-xsrc/auditor/test-sync.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/test-sync.sh b/src/auditor/test-sync.sh
index e0299f636..b40f11557 100755
--- 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
}