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)
Tue, May 19, 11:57 PM
Unknown Object (File)
Fri, May 15, 4:01 AM
Unknown Object (File)
Mon, May 11, 4:04 PM
Unknown Object (File)
Sun, May 10, 4:35 AM
Unknown Object (File)
Sun, May 10, 4:26 AM
Unknown Object (File)
Fri, May 8, 6:56 PM
Unknown Object (File)
Thu, May 7, 11:19 AM
Unknown Object (File)
May 1 2026, 11:31 PM
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