Page MenuHomeFreeBSD

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

Authored by arichardson on Jan 7 2021, 9:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 7:57 PM
Unknown Object (File)
Apr 15 2026, 7:39 AM
Unknown Object (File)
Apr 10 2026, 2:37 AM
Unknown Object (File)
Apr 9 2026, 12:39 AM
Unknown Object (File)
Apr 5 2026, 7:59 AM
Unknown Object (File)
Apr 4 2026, 3:01 AM
Unknown Object (File)
Mar 24 2026, 3:23 AM
Unknown Object (File)
Mar 23 2026, 12:36 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable