diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-09-09 20:23:21 -0400 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-09-09 20:23:21 -0400 |
commit | aea3c6027b4f05ba7585a0af4fe21715eebafee8 (patch) | |
tree | 697c0f5f8859de482f9eaa552669052349feaa76 /src | |
parent | b808ca04d6628db2fe647b1d43b598217d14d686 (diff) |
remove reserved word ‘function’
This is a bashism; the definition works fine w/o it.
Diffstat (limited to 'src')
-rwxr-xr-x | src/auditor/test-sync.sh | 4 |
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 } |