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)
Fri, Oct 9, 7:39 AM
Unknown Object (File)
Fri, Sep 25, 1:03 PM
Unknown Object (File)
Mon, Sep 21, 11:05 AM
Unknown Object (File)
Sat, Sep 19, 12:22 AM
Unknown Object (File)
Fri, Sep 18, 9:08 PM
Unknown Object (File)
Fri, Sep 18, 6:08 PM
Unknown Object (File)
Sep 16 2026, 2:27 PM
Unknown Object (File)
Sep 12 2026, 8:52 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35988
Build 32877: arc lint + arc unit