Use consistent syntax for Bash function declarations

This commit is contained in:
Kamil Śliwak
2021-11-08 16:34:07 +01:00
parent bc2402e76f
commit 7ccdbd5b08
17 changed files with 57 additions and 45 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ source "${REPO_ROOT}/scripts/common.sh"
WORKDIR=$(mktemp -d)
CMDLINE_PID=
cleanup() {
function cleanup
{
# ensure failing commands don't cause termination during cleanup (especially within safe_kill)
set +e