From aea3c6027b4f05ba7585a0af4fe21715eebafee8 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 9 Sep 2022 20:23:21 -0400 Subject: remove reserved word ‘function’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a bashism; the definition works fine w/o it. --- src/auditor/test-sync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auditor/test-sync.sh') 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 } -- cgit v1.2.3