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 12, 6:48 PM
Unknown Object (File)
Thu, Nov 7, 3:19 AM
Unknown Object (File)
Fri, Nov 1, 6:42 PM
Unknown Object (File)
Oct 6 2024, 9:55 PM
Unknown Object (File)
Oct 3 2024, 8:31 PM
Unknown Object (File)
Oct 3 2024, 3:10 PM
Unknown Object (File)
Oct 1 2024, 8:03 PM
Unknown Object (File)
Oct 1 2024, 12:18 PM
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