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)
Tue, Nov 11, 8:53 PM
Unknown Object (File)
Nov 9 2025, 4:23 PM
Unknown Object (File)
Nov 6 2025, 11:10 PM
Unknown Object (File)
Nov 5 2025, 5:03 PM
Unknown Object (File)
Nov 2 2025, 6:14 AM
Unknown Object (File)
Oct 22 2025, 4:56 AM
Unknown Object (File)
Oct 16 2025, 8:43 AM
Unknown Object (File)
Oct 16 2025, 8:43 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