Page MenuHomeFreeBSD

beinstall.sh: Check correct exit status
ClosedPublic

Authored by jrm on Dec 19 2022, 4:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 16, 1:34 AM
Unknown Object (File)
Sun, Nov 9, 11:19 PM
Unknown Object (File)
Fri, Nov 7, 4:58 AM
Unknown Object (File)
Wed, Oct 29, 6:33 PM
Unknown Object (File)
Sun, Oct 26, 11:59 PM
Unknown Object (File)
Oct 21 2025, 11:14 PM
Unknown Object (File)
Oct 12 2025, 10:09 PM
Unknown Object (File)
Oct 11 2025, 1:50 AM
Subscribers

Details

Summary

When retrieving the timestamp of the last commit using git-show(1), do
not pipe the output to head(1), otherwise the value in $? will be for
head(1) and not git-show(1).

Diff Detail

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