HomeFreeBSD

prepare-commit-msg: Avoid warning on macOS and shellcheck fixes

Description

prepare-commit-msg: Avoid warning on macOS and shellcheck fixes

The macOS /bin/sh complains about using return outside of functions.
Replace return 0 with exit 0 to fix this. While editing this files
I've also fixed all the shellcheck warnings that were displayed by my IDE.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D28016

Details

Provenance
arichardsonAuthored on Jan 7 2021, 2:00 PM
Reviewer
emaste
Differential Revision
D28016: prepare-commit-msg: Avoid warning on macOS and shellcheck fixes
Parents
rGb500c184b656: Drop some unncessary stale code from Makefile.boot
Branches
Unknown
Tags
Unknown